move ci, website to pubnixvm, move invidious to tilserv

This commit is contained in:
root 2022-09-17 12:19:10 -04:00
parent aa523031d9
commit 615a1f1699
3 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@ access_log off;
error_log /var/log/nginx/error.log crit;
location / {
proxy_pass http://10.7.0.1:2500/;
# proxy_pass http://127.0.0.1:2500/; # in case we cant host it on vps anymore
#proxy_pass http://10.7.0.1:2500/;
proxy_pass http://127.0.0.1:2500/; # in case we cant host it on vps anymore
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host; # so Invidious knows domain
proxy_http_version 1.1; # to keep alive

View File

@ -1,5 +1,5 @@
add_header Onion-Location http://vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
root /var/www/website;
root /sshfs/websiteupdate/website;
index index.html;
ssi on;
@ -85,7 +85,7 @@ location /blog/.git {
}
location /sitemap {
root /var/www/websitenew;
root /sshfs/websiteupdate/website;
try_files $uri $uri.html $uri/ @extensionless-php;
index off;
ssi on;

View File

@ -2,7 +2,7 @@ location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:8000;
proxy_pass http://192.168.122.30:8000;
proxy_redirect off;
proxy_http_version 1.1;
proxy_buffering off;