Reformat configs

This commit is contained in:
Anthony Wang 2021-08-02 10:05:27 -05:00
parent 47c305c77a
commit 46841db7ed
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76
3 changed files with 6 additions and 6 deletions

View file

@ -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/;
} }

View file

@ -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;

View file

@ -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;
} }