forked from exozyme/nginx
Reformat configs
This commit is contained in:
parent
47c305c77a
commit
46841db7ed
3 changed files with 6 additions and 6 deletions
|
@ -23,11 +23,11 @@ server {
|
|||
location /.well-known/matrix/server {
|
||||
return 200 '{"m.server": "chat.exozy.me"}';
|
||||
}
|
||||
|
||||
|
||||
location /.well-known/webfinger {
|
||||
return 301 https://social.exozy.me$request_uri;
|
||||
}
|
||||
|
||||
|
||||
location /auth {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_set_header Host $host;
|
||||
|
@ -35,7 +35,7 @@ server {
|
|||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
}
|
||||
|
||||
|
||||
location /howtuwu {
|
||||
alias /srv/http/exozy.me/howtuwu/public;
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ server {
|
|||
# Disable cache
|
||||
proxy_buffering off;
|
||||
}
|
||||
|
||||
|
||||
location /~ {
|
||||
alias /srv/http/pages/;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ server {
|
|||
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 https;
|
||||
|
||||
|
||||
# websocket headers
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
|
|
@ -8,7 +8,7 @@ server {
|
|||
|
||||
root /srv/http/ta180m;
|
||||
index index.html;
|
||||
|
||||
|
||||
location /blog {
|
||||
alias /srv/http/ta180m/blog/_site;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue