Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- listen [::]:80;
- server_name fm.acko.net;
- root /var/www/linode/fridge2;
- index index.html;
- location = / {
- }
- location = /index.html {
- }
- location ~ /. {
- add_header 'Access-Control-Allow-Origin' '*';
- proxy_buffering off;
- proxy_ignore_client_abort off;
- proxy_intercept_errors on;
- proxy_next_upstream error timeout invalid_header;
- proxy_redirect off;
- proxy_set_header X-Host $http_host;
- proxy_set_header X-Forwarded-For $remote_addr;
- proxy_connect_timeout 60;
- proxy_send_timeout 21600;
- proxy_read_timeout 21600;
- proxy_pass http://127.0.0.1:8000;
- proxy_set_header Host fm.acko.net;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement