mirror of
https://github.com/KevinMidboe/nginx.git
synced 2025-10-29 09:40:26 +00:00
19 lines
305 B
Plaintext
19 lines
305 B
Plaintext
# 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;
|
|
}
|
|
|
|
|
|
}
|