Skip to content

Commit

Permalink
Added gzip tp nginx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nenad0707 committed May 26, 2024
1 parent 93bb387 commit 8057b9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion TaskTackler/wwwroot/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
}
},
"AllowedHosts": "*",
"ApiUrl": "https://localhost:7213/api/"
"ApiUrl": "http://localhost:8080/api/"
}
5 changes: 5 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ events {}

http {
include mime.types;
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
gzip_proxied any;
gzip_vary on;

server {
listen 80;
server_name localhost;
Expand Down

0 comments on commit 8057b9e

Please sign in to comment.