23 lines
563 B
Plaintext
23 lines
563 B
Plaintext
server {
|
|
listen 8080 default_server;
|
|
root /var/www/html-slideshow;
|
|
index index.html index.htm;
|
|
server_name _;
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
add_header Access-Control-Allow-Origin *;
|
|
}
|
|
}
|
|
server {
|
|
ssl_certificate /home/podman/wild-phares/fullchain.cer;
|
|
ssl_certificate_key /home/podman/wild-phares/phares.duckdns.org.key;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
listen 443 ssl http2;
|
|
server_name slideshow.phares.duckdns.org;
|
|
root /var/www/html-slideshow;
|
|
index index.html index.htm;
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|