updated nginx container, .conf file, added certbot container #2
19
https/nginx/automatisch_self_signed_nginx.conf
Normal file
19
https/nginx/automatisch_self_signed_nginx.conf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
events {}
|
||||||
|
|
||||||
|
http {
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name shiloh_automatisch.local;
|
||||||
|
|
||||||
|
ssl_certificate /etc/nginx/certs/shiloh_automatisch.local.crt;
|
||||||
|
ssl_certificate_key /etc/nginx/certs/shiloh_automatisch.local.key;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://main:7757;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user