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 {
|
location /.well-known/matrix/server {
|
||||||
return 200 '{"m.server": "chat.exozy.me"}';
|
return 200 '{"m.server": "chat.exozy.me"}';
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/webfinger {
|
location /.well-known/webfinger {
|
||||||
return 301 https://social.exozy.me$request_uri;
|
return 301 https://social.exozy.me$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /auth {
|
location /auth {
|
||||||
proxy_pass http://127.0.0.1:8080;
|
proxy_pass http://127.0.0.1:8080;
|
||||||
proxy_set_header Host $host;
|
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-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /howtuwu {
|
location /howtuwu {
|
||||||
alias /srv/http/exozy.me/howtuwu/public;
|
alias /srv/http/exozy.me/howtuwu/public;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ server {
|
||||||
# Disable cache
|
# Disable cache
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /~ {
|
location /~ {
|
||||||
alias /srv/http/pages/;
|
alias /srv/http/pages/;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ server {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
|
||||||
# websocket headers
|
# websocket headers
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
|
@ -8,7 +8,7 @@ server {
|
||||||
|
|
||||||
root /srv/http/ta180m;
|
root /srv/http/ta180m;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
location /blog {
|
location /blog {
|
||||||
alias /srv/http/ta180m/blog/_site;
|
alias /srv/http/ta180m/blog/_site;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue