Skip to content
This repository has been archived by the owner on Dec 29, 2019. It is now read-only.

removed app_dev.php from nondev images #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions php7.1-fpm-nginx/nginx.vh.default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,7 @@ server {

# DEV
location ~ ^/(app_dev)\.php(/|$) {
fastcgi_pass 127.0.0.1:9000;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/web$fastcgi_script_name;
fastcgi_param HTTPS off;
fastcgi_read_timeout 600;
fastcgi_buffers 32 4k;
fastcgi_buffer_size 32k;
return 404;
}

# PROD
Expand Down
9 changes: 1 addition & 8 deletions php7.2-fpm-nginx/nginx.vh.default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,7 @@ server {

# DEV
location ~ ^/(app_dev)\.php(/|$) {
fastcgi_pass 127.0.0.1:9000;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/web$fastcgi_script_name;
fastcgi_param HTTPS off;
fastcgi_read_timeout 600;
fastcgi_buffers 32 4k;
fastcgi_buffer_size 32k;
return 404;
}

# PROD
Expand Down