Skip to content

Commit

Permalink
Simplifica o arquivo de configuração do Nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares committed Mar 11, 2019
1 parent 99dfe34 commit 0cd04ce
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docker/nginx/default.conf
Expand Up @@ -27,17 +27,10 @@ server {
}

location ~ ^(/intranet.*\.php|/modules.*\.php|/module/) {
try_files /index.php =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
rewrite ^(.*)$ /index.php$1;
}

location ~ \.php {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php:9000;
fastcgi_index index.php;
Expand Down

0 comments on commit 0cd04ce

Please sign in to comment.