[fix] docker-compose should have nginx path for hash_images
This commit is contained in:
parent
81eb870aab
commit
a21ba6b8fb
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
.env
|
.env
|
||||||
|
/nbproject
|
||||||
|
@ -32,6 +32,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
command: nginx -g 'daemon off;error_log /dev/stdout info;'
|
command: nginx -g 'daemon off;error_log /dev/stdout info;'
|
||||||
|
volumes:
|
||||||
|
- ${PWD}/files/nginx/sites-enabled:/etc/nginx/sites-enabled
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
@ -3,7 +3,7 @@ server {
|
|||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
listen [::]:80 default_server;
|
listen [::]:80 default_server;
|
||||||
root /opt/;
|
root /opt/;
|
||||||
location /image {
|
location ~ /(hash_name|image) {
|
||||||
proxy_pass http://app:5000;
|
proxy_pass http://app:5000;
|
||||||
}
|
}
|
||||||
# Docker specific conf
|
# Docker specific conf
|
||||||
|
Loading…
Reference in New Issue
Block a user