You've already forked nginx
Compare commits
2 Commits
1.1.0
...
production
Author | SHA1 | Date | |
---|---|---|---|
99ae0665a6 | |||
2646f4fa2f |
@@ -1 +1,2 @@
|
|||||||
# Nginx Deployment
|
# Nginx Deployment
|
||||||
|
Data directory inside container: /var/www/html
|
||||||
|
@@ -31,6 +31,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${NGINX_CONFIG}:/etc/nginx/nginx.conf
|
- ${NGINX_CONFIG}:/etc/nginx/nginx.conf
|
||||||
- ${NGINX_SITECONFIG}:/etc/nginx/conf.d/default.conf
|
- ${NGINX_SITECONFIG}:/etc/nginx/conf.d/default.conf
|
||||||
|
- ${NGINX_DATA}:/var/www/html
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
|
||||||
|
@@ -19,5 +19,6 @@ DIUN_NGINX_EXCLUDE=
|
|||||||
|
|
||||||
# Nginx
|
# Nginx
|
||||||
NGINX_VERSION=1.22.0-alpine
|
NGINX_VERSION=1.22.0-alpine
|
||||||
|
NGINX_DATA=./data/httpdocs
|
||||||
NGINX_CONFIG=./data/nginx.conf
|
NGINX_CONFIG=./data/nginx.conf
|
||||||
NGINX_SITECONFIG=./data/site.conf
|
NGINX_SITECONFIG=./data/site.conf
|
||||||
|
Reference in New Issue
Block a user