[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
|
||||
/nbproject
|
||||
|
@ -32,6 +32,8 @@ services:
|
||||
depends_on:
|
||||
- app
|
||||
command: nginx -g 'daemon off;error_log /dev/stdout info;'
|
||||
volumes:
|
||||
- ${PWD}/files/nginx/sites-enabled:/etc/nginx/sites-enabled
|
||||
|
||||
worker:
|
||||
env_file: .env
|
||||
|
@ -3,7 +3,7 @@ server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
root /opt/;
|
||||
location /image {
|
||||
location ~ /(hash_name|image) {
|
||||
proxy_pass http://app:5000;
|
||||
}
|
||||
# Docker specific conf
|
||||
|
Loading…
Reference in New Issue
Block a user