[fix] docker-compose should have nginx path for hash_images

This commit is contained in:
alban 2021-10-24 21:06:49 +02:00
parent 81eb870aab
commit a21ba6b8fb
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.env
/nbproject

View File

@ -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

View File

@ -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