30 lines
752 B
Nginx Configuration File
30 lines
752 B
Nginx Configuration File
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
server {
|
|
listen *:8080;
|
|
|
|
client_max_body_size 0;
|
|
|
|
set $allowOriginSite *;
|
|
proxy_pass_request_headers on;
|
|
proxy_pass_header Set-Cookie;
|
|
|
|
# External settings, do not remove
|
|
#ENV_ACCESS_LOG
|
|
|
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
|
proxy_redirect off;
|
|
proxy_buffering off;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_pass_header Set-Cookie;
|
|
}
|
|
}
|