nginx - 80 and 443 inside container, to match docker-compose.yml
This commit is contained in:
1 parent
a161b2d63e
commit
8cc4e49eb9
2 files changed
+4
-4
No files matched your search
@@ -9,12 +9,12 @@
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen 80;
|
||||
|
||||
return 301 https://$server_name$request_uri/;
|
||||
}
|
||||
server {
|
||||
listen 4443 ssl;
|
||||
listen 443 ssl;
|
||||
|
||||
server_name {{ inventory_hostname | default('ansible_undefined_host') }};
|
||||
ssl_certificate /etc/nginx/certs/{{ inventory_hostname | default('ansible_undefined_host') }}.crt;
|
||||
|
||||
Reference in new issue
Block a user