mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-23 15:53:36 +05:00
refactor(KIAUH): update NGINX config to match mainsails structure
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# /etc/nginx/sites-available/%NAME%
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen %PORT%;
|
listen %PORT%;
|
||||||
|
# uncomment the next line to activate IPv6
|
||||||
|
# listen [::]:%PORT%;
|
||||||
|
|
||||||
access_log /var/log/nginx/%NAME%-access.log;
|
access_log /var/log/nginx/%NAME%-access.log;
|
||||||
error_log /var/log/nginx/%NAME%-error.log;
|
error_log /var/log/nginx/%NAME%-error.log;
|
||||||
@@ -55,7 +55,6 @@ server {
|
|||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Scheme $scheme;
|
proxy_set_header X-Scheme $scheme;
|
||||||
proxy_read_timeout 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /webcam/ {
|
location /webcam/ {
|
||||||
|
|||||||
Reference in New Issue
Block a user