aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/docker/nginx/default.conf
diff options
context:
space:
mode:
Diffstat (limited to 'main/docker/nginx/default.conf')
-rwxr-xr-xmain/docker/nginx/default.conf28
1 files changed, 0 insertions, 28 deletions
diff --git a/main/docker/nginx/default.conf b/main/docker/nginx/default.conf
deleted file mode 100755
index 8ae7bb8..0000000
--- a/main/docker/nginx/default.conf
+++ /dev/null
@@ -1,28 +0,0 @@
-server {
- listen 80;
- root /app/public;
- server_name "";
-
- access_log /app/app/logs/nginx-access.log;
-
- add_header X-Frame-Options SAMEORIGIN;
- add_header X-Content-Type-Options nosniff;
-
- location = /index.php {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_keep_conn on;
- fastcgi_pass php:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- location ~* \.(png|gif|jpg|jpeg|ico|css|js|woff|ttf|otf|woff2|eot)$ {
- include /etc/nginx/mime.types;
- expires max;
- try_files $uri /index.php?$query_string;
- }
- location / {
- index index.php;
- try_files $uri /index.php?$query_string;
- }
-}