support upgrade-insecure-requests option

This commit is contained in:
Jun Kurihara 2022-07-10 04:28:50 +09:00
commit 1a80e405b5
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
8 changed files with 112 additions and 29 deletions

View file

@ -5,12 +5,12 @@ services:
container_name: backend-nginx
restart: unless-stopped
environment:
- VIRTUAL_HOST="127.0.0.1"
- VIRTUAL_HOST=localhost
- VIRTUAL_PORT=80
expose:
- 80
ports:
- 127.0.0.1:8888:80
# ports:
# - 127.0.0.1:8888:80
logging:
options:
max-size: "10m"
@ -45,6 +45,8 @@ services:
tty: false
privileged: true
volumes:
- ./nginx_data/vhost:/etc/nginx/vhost.d
- ./nginx_data/conf:/etc/nginx/conf.d/
- /var/run/docker.sock:/tmp/docker.sock:ro
logging:
options: