A cli tool to quickly create and manage nginx server blocks.
https://up.js.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
351 B
15 lines
351 B
7 years ago
|
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;
|
||
|
}
|