Skip to content

Commit

Permalink
Fix nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Elanis committed Jun 20, 2024
1 parent 5ffba44 commit 07dcd79
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
user nginx;
worker_processes auto;

error_log /var/log/nginx/error.log notice;
Expand Down Expand Up @@ -28,6 +27,10 @@ http {
gzip on;

server {
listen 80;
listen [::]:80;
server_name localhost;

location ~* \.(png|ico|jpg|ttf|webp|css|js|woff2)$ {
access_log off;
expires max;
Expand All @@ -41,5 +44,5 @@ http {
index index.html;
}

include /etc/nginx/conf.d/*.conf;
#include /etc/nginx/conf.d/*.conf;
}

0 comments on commit 07dcd79

Please sign in to comment.