Muthu Kumar
7 years ago
3 changed files with 58 additions and 13 deletions
@ -0,0 +1,15 @@ |
|||
server { |
|||
listen 80; |
|||
listen [::]:80; |
|||
root /var/www/thefeathers.in; |
|||
index index.html index.htm; |
|||
|
|||
server_namethefeathers.in |
|||
location / { |
|||
proxy_pass http://localhost:20; |
|||
proxy_http_version 1.1; |
|||
proxy_set_header Upgrade $http_upgrade; |
|||
proxy_set_header Connection 'upgrade'; |
|||
proxy_set_header Host $host; |
|||
proxy_cache_bypass $http_upgrade; |
|||
} |
@ -0,0 +1,15 @@ |
|||
server { |
|||
listen 80; |
|||
listen [::]:80; |
|||
root /var/www/thefeathers.in; |
|||
index index.html index.htm; |
|||
|
|||
server_name DOMAIN.NAME |
|||
location / { |
|||
proxy_pass http://localhost:20; |
|||
proxy_http_version 1.1; |
|||
proxy_set_header Upgrade $http_upgrade; |
|||
proxy_set_header Connection 'upgrade'; |
|||
proxy_set_header Host $host; |
|||
proxy_cache_bypass $http_upgrade; |
|||
} |
Loading…
Reference in new issue