25 lines
533 B
Nginx Configuration File
25 lines
533 B
Nginx Configuration File
pid /tmp/nginx.pid;
|
|
user nginx;
|
|
events {}
|
|
|
|
http {
|
|
client_body_temp_path /tmp/client_temp;
|
|
proxy_temp_path /tmp/proxy_temp;
|
|
fastcgi_temp_path /tmp/fastcgi_temp;
|
|
uwsgi_temp_path /tmp/uwsgi_temp;
|
|
scgi_temp_path /tmp/scgi_temp;
|
|
|
|
server {
|
|
listen 8080;
|
|
root /usr/share/nginx/html;
|
|
}
|
|
|
|
server {
|
|
listen 8443 ssl;
|
|
root /usr/share/nginx/html;
|
|
|
|
ssl_certificate /etc/nginx/ssl/cert.pem;
|
|
ssl_certificate_key /etc/nginx/ssl/key.pem;
|
|
}
|
|
}
|