Compare commits
5 commits
feat/maint
...
master
Author | SHA1 | Date | |
---|---|---|---|
905f1f53bd | |||
8d534bcd93 | |||
49e8859cec | |||
4f984d805f | |||
8120697609 |
12 changed files with 54 additions and 18 deletions
16
sites-available/8001-vlw-api.conf
Normal file
16
sites-available/8001-vlw-api.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
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;
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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,11 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
|
||||
server_name api.vlw.se;
|
||||
server_name href.vlw.se;
|
||||
|
||||
include snippets/vlw.se-ssl;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8001;
|
||||
proxy_pass http://localhost:8007;
|
||||
}
|
||||
}
|
|
@ -1,13 +1,11 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
|
||||
server_name blob.vlw.se;
|
||||
server_name api-href.vlw.se;
|
||||
|
||||
include snippets/vlw.se-ssl;
|
||||
|
||||
location / {
|
||||
client_max_body_size 16M;
|
||||
|
||||
proxy_pass http://localhost:8008;
|
||||
}
|
||||
}
|
14
sites-available/8009-vlw-srv.conf
Normal file
14
sites-available/8009-vlw-srv.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
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;
|
||||
}
|
||||
}
|
21
sites-available/blob.conf
Normal file
21
sites-available/blob.conf
Normal file
|
@ -0,0 +1,21 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue