summaryrefslogtreecommitdiff
path: root/nginx-default.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx-default.conf')
-rw-r--r--nginx-default.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/nginx-default.conf b/nginx-default.conf
new file mode 100644
index 0000000..5dd24ad
--- /dev/null
+++ b/nginx-default.conf
@@ -0,0 +1,18 @@
+server {
+ listen 443 ssl;
+ server_name _;
+
+ ssl_certificate /etc/ssl/dashboard/soc_dashboard.pem;
+ ssl_certificate_key /etc/ssl/dashboard/soc_dashboard-key.pem;
+
+ location / {
+ root /usr/share/nginx/html;
+ index index.html index.htm;
+ }
+
+ error_page 500 502 503 504 /50x.html;
+
+ location = /50x.html {
+ root /usr/share/nginx/html;
+ }
+} \ No newline at end of file