mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 10:10:21 +00:00
18 lines
395 B
Plaintext
18 lines
395 B
Plaintext
|
server {
|
||
|
listen 80 default_server;
|
||
|
listen [::]:80 default_server ipv6only=on;
|
||
|
|
||
|
listen 443 ssl;
|
||
|
|
||
|
root /usr/share/nginx/html;
|
||
|
index index.html;
|
||
|
|
||
|
server_name localhost;
|
||
|
ssl_certificate /etc/nginx/ssl/nginx.crt;
|
||
|
ssl_certificate_key /etc/nginx/ssl/nginx.key;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ =404;
|
||
|
}
|
||
|
}
|