better domain+location handling
This commit is contained in:
@@ -12,9 +12,9 @@ RUN apt-get update \
|
||||
|
||||
ADD nginx.conf /etc/nginx/
|
||||
ADD dhparams.pem /etc/nginx/ssl/
|
||||
ADD default_ssl.conf /etc/nginx/conf.d/
|
||||
ADD default.conf /etc/nginx/conf.d/
|
||||
|
||||
VOLUME /etc/nginx/ssl/
|
||||
VOLUME /etc/nginx/conf.d/
|
||||
VOLUME /etc/nginx/locations/
|
||||
VOLUME /etc/nginx/location/
|
||||
VOLUME /usr/share/nginx/html/
|
||||
|
||||
@@ -12,5 +12,5 @@ server {
|
||||
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
include locations/*.conf;
|
||||
include location/default/*.conf;
|
||||
}
|
||||
Reference in New Issue
Block a user