mirror of https://github.com/zer0bin-dev/zer0bin
config: ⚙ gzip_static if no brotli
This commit is contained in:
parent
40f2d7a578
commit
807aa1f516
|
@ -1,7 +1,7 @@
|
|||
# replace `example.tld` with your domain
|
||||
# replace `/location/of/zer0bin` with the location of the zer0bin folder
|
||||
# uncomment the `brotli on;` lines if you have the nginx brotoli plugin
|
||||
# uncomment the `ssl_certificate` lines if you have letsencrypt certs
|
||||
# comment out line 15 and uncomment line 16 if you have the nginx brotoli plugin
|
||||
# uncomment lines 51 and 52 if you have letsencrypt certs
|
||||
|
||||
server {
|
||||
server_name example.tld;
|
||||
|
@ -11,6 +11,8 @@ server {
|
|||
server {
|
||||
listen 443;
|
||||
server_name example.tld;
|
||||
|
||||
gzip_static on;
|
||||
# brotli on;
|
||||
|
||||
root /location/of/zer0bin/frontend/dist;
|
||||
|
|
Loading…
Reference in New Issue