aboutsummaryrefslogtreecommitdiffstats
path: root/nginxhttps.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginxhttps.conf')
-rw-r--r--nginxhttps.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/nginxhttps.conf b/nginxhttps.conf
new file mode 100644
index 0000000..9795f19
--- /dev/null
+++ b/nginxhttps.conf
@@ -0,0 +1,17 @@
+server {
+ listen 443 ssl;
+
+ location / {
+ try_files $uri @app;
+ }
+ location @app {
+ include uwsgi_params;
+ uwsgi_pass unix:///tmp/uwsgi.sock;
+ }
+ location /static {
+ alias /app/static;
+ }
+ server_name configbinding;
+ ssl_certificate /etc/nginx/ssl/nginx.crt;
+ ssl_certificate_key /etc/nginx/ssl/nginx.key;
+}