Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 94371

nginx (pronounced “engine-x”) is a lightweight, high-performance Web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license.

3 votes
1 answer
162 views

Gzip not working on nginx CentOS despite configuration to enable it

exact set-up (nothing more than this was done): I installed centos 7 minimal I logged in via putty Then i input the following commands yum update yum clean all yum install epel-release yum install nginx … systemctl enable nginx vi /etc/nginx/nginx.conf user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; events { worker_connections 1024; } http { log_format …
abcjme's user avatar
  • 189
2 votes

Gzip not working on nginx CentOS despite configuration to enable it

· the gzip commands need to be directly in the http block, not in the server block user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; events { worker_connections … } http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx
abcjme's user avatar
  • 189
3 votes
0 answers
152 views

Nginx doesn't show a directory index unless I have the non-gziped index.html when I can just...

NOTE: If it matters at all, my server's run by NGINX. EDIT: even if I edit /etc/nginx/nginx.conf to have the line index index.html.gz, then it'll deliver the index page as a download-only file! …
abcjme's user avatar
  • 189