Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- worker_processes 8;
- user deploy;
- events {
- worker_connections 1024;
- }
- http {
- # General Settings
- gzip on;
- sendfile on;
- tcp_nopush on;
- tcp_nodelay off;
- server_tokens off;
- include mime.types;
- keepalive_timeout 15;
- default_type application/octet-stream;
- # If we set index here, we won't have to anywhere else
- index index.html index.htm index.php;
- # I prefer nginx to show the errors than "No Input Files Specified"
- # If you're using wordpress you want to turn this off so Wordpress
- # Shows the error. You can turn it off at the server or location level.
- # ONLY works if the server block has error pages defined for 4xx/5xx
- # fastcgi_intercept_errors on;
- # We don't want someone to visit a default site via IP
- # So we catch all non-defined Hosts or blank hosts here
- client_max_body_size 64M;
- # server {
- # server_name _;
- # return 444;
- # }
- include sites-enabled/*;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement