Compare commits
1 commit
master
...
feat/maint
Author | SHA1 | Date | |
---|---|---|---|
95563313d6 |
13 changed files with 29 additions and 54 deletions
|
@ -1,11 +1,11 @@
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
|
||||||
server_name href.vlw.se;
|
server_name api.vlw.se;
|
||||||
|
|
||||||
include snippets/vlw.se-ssl;
|
include snippets/vlw.se-ssl;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:8007;
|
proxy_pass http://localhost:8001;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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
13
sites-available/8007
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,11 +1,13 @@
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
|
||||||
server_name api-href.vlw.se;
|
server_name blob.vlw.se;
|
||||||
|
|
||||||
include snippets/vlw.se-ssl;
|
include snippets/vlw.se-ssl;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
client_max_body_size 16M;
|
||||||
|
|
||||||
proxy_pass http://localhost:8008;
|
proxy_pass http://localhost:8008;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
11
sites-available/maintenance
Normal file
11
sites-available/maintenance
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
server {
|
||||||
|
listen 8000;
|
||||||
|
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
root /var/www/maintenance;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files /index.html =404;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue