Compare commits

..

1 commit

Author SHA1 Message Date
95563313d6 wip: 2025-01-20T11:25:11+0100 (1737368711) 2025-01-20 14:09:41 +01:00
13 changed files with 29 additions and 54 deletions

View file

@ -1,11 +1,11 @@
server {
listen 443 ssl;
server_name href.vlw.se;
server_name api.vlw.se;
include snippets/vlw.se-ssl;
location / {
proxy_pass http://localhost:8007;
proxy_pass http://localhost:8001;
}
}

View file

@ -1,16 +0,0 @@
server {
listen 443 ssl;
server_name api.vlw.se;
include snippets/vlw.se-ssl;
location / {
add_header 'Access-Control-Allow-Origin' $http_origin;
add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'GET, POST, PATCH, PUT, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Authorization, Origin, Content-Type, Accept';
proxy_pass http://localhost:8001;
}
}

13
sites-available/8007 Normal file
View file

@ -0,0 +1,13 @@
server {
listen 443 ssl;
server_name social.suesity.vlw.se;
include snippets/suesity.vlw.se-ssl;
location / {
client_max_body_size 16M;
proxy_pass http://localhost:8007;
}
}

View file

@ -1,11 +1,13 @@
server {
listen 443 ssl;
server_name api-href.vlw.se;
server_name blob.vlw.se;
include snippets/vlw.se-ssl;
location / {
client_max_body_size 16M;
proxy_pass http://localhost:8008;
}
}

View file

@ -1,14 +0,0 @@
server {
listen 443 ssl;
server_name srv.vlw.se *.srv.vlw.se;
include snippets/srv.vlw.se-ssl;
location / {
proxy_pass http://localhost:8009;
proxy_set_header Host $http_host;
proxy_pass_request_headers on;
}
}

View file

@ -1,21 +0,0 @@
server {
listen 80;
server_name blob.vlw.se;
return 308 https://blob.vlw.se$request_uri;
}
server {
listen 443 ssl;
server_name blob.vlw.se;
include snippets/vlw.se-ssl;
root /mnt/misc/blobs;
location / {
try_files $uri =404;
}
}

View file

@ -0,0 +1,11 @@
server {
listen 8000;
server_name _;
root /var/www/maintenance;
location / {
try_files /index.html =404;
}
}