Browse Source

Improved Nginx configuration for Docker Compose

main
Simon Bowie 3 years ago
parent
commit
419affb809
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      docker-compose.yml
  2. +1
    -0
      nginx-conf/patent_site.conf

+ 1
- 1
docker-compose.yml View File

ports: ports:
- '8080:80' - '8080:80'
volumes: volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./nginx-conf:/etc/nginx/conf.d
volumes_from: volumes_from:
- php - php



nginx/default.conf → nginx-conf/patent_site.conf View File

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;
} }
} }

Loading…
Cancel
Save