Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 9393 ssl;
- server_name _;
- ssl_certificate /etc/nginx/ssl/cert.pem;
- ssl_certificate_key /etc/nginx/ssl/key.pem;
- root /var/www/html;
- index index.html;
- location / {
- # Proxy timeouts
- proxy_connect_timeout 7200s;
- proxy_send_timeout 7200s;
- proxy_read_timeout 7200s;
- add_header Access-Control-Allow-Origin "*";
- client_max_body_size 512M;
- # include /etc/nginx/test.conf;
- proxy_pass http://192.168.1.75:60800;
- root /usr/share/nginx/html;
- index index.html index.htm;
- 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_store off;
- proxy_redirect off;
- proxy_buffering off;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement