23 lines
701 B
Plaintext
Executable File
23 lines
701 B
Plaintext
Executable File
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
server_name _;
|
|
|
|
location / {
|
|
proxy_connect_timeout 60;
|
|
proxy_read_timeout 60;
|
|
proxy_send_timeout 60;
|
|
proxy_intercept_errors on;
|
|
proxy_http_version 1.1;
|
|
proxy_pass http://localhost:5000;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
|
|
error_log /var/log/nginx/obscreen.error.log;
|
|
access_log /var/log/nginx/obscreen.access.log;
|
|
}
|