Skip to content

Commit

Permalink
Move all config options to server section
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-battaglia committed Oct 19, 2023
1 parent 1faa505 commit d82f2cf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions angular-frontend/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
http {
server {
listen 80;
sendfile on;
default_type application/octet-stream;
tcp_nopush on;
tcp_nodelay on;

Expand All @@ -8,12 +10,6 @@ http {
default upgrade;
'' close;
}
}

server {
listen 80;
sendfile on;
default_type application/octet-stream;

gzip on;
gzip_http_version 1.1;
Expand Down

0 comments on commit d82f2cf

Please sign in to comment.