17 lines
378 B
Nginx Configuration File
Executable File
17 lines
378 B
Nginx Configuration File
Executable File
server {
|
|
listen 0.0.0.0:5050 ssl default_server;
|
|
server_name localhost;
|
|
root /var/www/localhost/htdocs/;
|
|
autoindex on;
|
|
index index.php;
|
|
ssl_certificate /etc/nginx/ssl/html.pem;
|
|
ssl_certificate_key /etc/nginx/ssl/html.key;
|
|
|
|
location ~ \.php$ {
|
|
include fastcgi.conf;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
include fastcgi_params;
|
|
fastcgi_index index.php;
|
|
}
|
|
}
|