This repository has been archived on 2023-02-05. You can view files and clone it, but cannot push or open issues or pull requests.
loki/proxy/nginx-conf.d/cloud.wojciechkozlowski.eu.conf

32 lines
646 B
Plaintext
Raw Normal View History

2017-09-17 04:24:15 +02:00
server {
listen 80;
server_name cloud.wojciechkozlowski.eu;
location ^~ /.well-known {
allow all;
root /var/www/html;
}
location / {
return 301 https://$server_name$request_uri;
}
}
2017-09-16 22:53:23 +02:00
server {
2017-09-17 04:15:10 +02:00
listen 443 ssl;
2017-09-16 22:53:23 +02:00
server_name cloud.wojciechkozlowski.eu;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://docker_cloud;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}