mirror of
https://github.com/KevinMidboe/nginx.git
synced 2025-12-08 20:38:51 +00:00
Init commit with all nginx files on api server
This commit is contained in:
18
sites-available/ruterna
Normal file
18
sites-available/ruterna
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user