mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
no need to gzip here, reverse proxy will do it
This commit is contained in:
+13
-13
@@ -20,30 +20,30 @@ http {
|
||||
server_tokens off;
|
||||
|
||||
# Gzip compression
|
||||
gzip on;
|
||||
gzip_types
|
||||
text/plain
|
||||
application/json
|
||||
application/javascript
|
||||
text/css
|
||||
text/xml
|
||||
application/xml
|
||||
application/xml+rss
|
||||
gzip off;
|
||||
gzip_types
|
||||
text/plain
|
||||
application/json
|
||||
application/javascript
|
||||
text/css
|
||||
text/xml
|
||||
application/xml
|
||||
application/xml+rss
|
||||
text/javascript;
|
||||
|
||||
# Server block
|
||||
server {
|
||||
listen 80;
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
|
||||
include /etc/nginx/conf.d/redirects.conf;
|
||||
|
||||
location /docs {
|
||||
alias /usr/share/nginx/html/docs;
|
||||
alias /usr/share/nginx/html/docs;
|
||||
index index.html;
|
||||
try_files $uri $uri/ $uri.html =404;
|
||||
}
|
||||
|
||||
|
||||
location = /favicon.ico {
|
||||
rewrite ^/favicon.ico$ /docs/favicon.ico;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user