Skip to content

Commit

Permalink
fix: reset nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Aug 22, 2024
1 parent 9d75919 commit f47eac6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions resources/ops/docker/nginx/vhost.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name coconut.naturalproducts.net;
server_tokens off;

root /var/www/html;
Expand All @@ -13,12 +12,6 @@ server {
add_header X-Content-Type-Options "nosniff";

charset utf-8;

gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
gzip_vary on;
gzip_min_length 1000;

location / {
try_files $uri $uri/ /public/index.php?$query_string;
}
Expand All @@ -42,4 +35,4 @@ server {
location ~ /\.(?!well-known).* {
deny all;
}
}
}

0 comments on commit f47eac6

Please sign in to comment.