33 lines
763 B
Nginx Configuration File
33 lines
763 B
Nginx Configuration File
worker_processes 1;
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
http {
|
|
include "includes/mime.types";
|
|
default_type application/octet-stream;
|
|
sendfile on;
|
|
keepalive_timeout 65;
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name localhost;
|
|
ssl_certificate "includes/desktop-vp94spb.crt";
|
|
ssl_certificate_key "includes/desktop-vp94spb.key";
|
|
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
|
|
# include "includes/html.conf";
|
|
include "includes/Nextcloud.conf";
|
|
error_page 500 502 503 504 /50x.html;
|
|
include "includes/html-error.conf";
|
|
}
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name localhost;
|
|
location / {
|
|
root html;
|
|
index index.html index.htm;
|
|
}
|
|
}
|
|
}
|
|
|