Skip to content

Commit

Permalink
use nginx to serve the home page (no proxy)
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Dec 22, 2018
1 parent 6d7465b commit 158990e
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions nginx.conf
Expand Up @@ -24,21 +24,16 @@ server {

location / {
include /www/snoot.club/blocks/cors.nginx;
proxy_pass http://127.0.0.1:33130/;
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;
client_max_body_size 100m;
root /www/snoot.club/snoots/heart/application/website;
}

location /c {
return 301 https://chee.snoot.club;
}
location /c {
return 301 https://chee.snoot.club;
}

location /a {
return 301 https://abe.snoot.club;
}
location /a {
return 301 https://abe.snoot.club;
}
}

server {
Expand Down

0 comments on commit 158990e

Please sign in to comment.