mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-02 06:28:55 +00:00
Big update, Added the option to install wordpress, and you can now install composer packages by specifying them Egg has also been renamed from nginx egg to webhost egg
45 lines
995 B
Nginx Configuration File
45 lines
995 B
Nginx Configuration File
worker_processes auto;
|
|
pid /home/container/tmp/nginx.pid;
|
|
daemon off;
|
|
|
|
events {
|
|
worker_connections 768;
|
|
# multi_accept on;
|
|
}
|
|
|
|
error_log /home/container/error.log;
|
|
error_log /dev/stdout;
|
|
|
|
http {
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
keepalive_timeout 65;
|
|
types_hash_max_size 2048;
|
|
|
|
include /home/container/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
proxy_temp_path /home/container/tmp;
|
|
client_body_temp_path /home/container/tmp;
|
|
fastcgi_temp_path /home/container/tmp;
|
|
uwsgi_temp_path /home/container/tmp;
|
|
scgi_temp_path /home/container/tmp;
|
|
|
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
|
|
ssl_prefer_server_ciphers on;
|
|
|
|
#ssl_certificate /path/to/your/key/fullchain.pem;
|
|
#ssl_certificate_key /path/to/your/key/privkey.pem;
|
|
|
|
access_log /home/container/access.log;
|
|
access_log /dev/stdout;
|
|
error_log /home/container/error.log;
|
|
error_log /dev/stdout;
|
|
|
|
gzip on;
|
|
gzip_disable "msie6";
|
|
|
|
include /home/container/nginx/conf.d/*.conf;
|
|
}
|