Init commit with all nginx files on api server

This commit is contained in:
2019-07-29 13:55:49 +02:00
parent 7078e35581
commit 7e3cd26ddf
23 changed files with 1017 additions and 0 deletions

18
sites-available/ruterna Normal file
View File

@@ -0,0 +1,18 @@
# upstream s3 {
# server s3.eu-central-1.amazonaws.com:443;
# }
server {
if ($host = ruterna.no) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name ruterna.no;
location / {
proxy_pass https://s3.eu-central-1.amazonaws.com/miljohack;
}
}