Ajout : cyclo-vote.
[lhc/ateliers.git] / etc / nginx / site.d / cyclo-vote / http.conf
diff --git a/etc/nginx/site.d/cyclo-vote/http.conf b/etc/nginx/site.d/cyclo-vote/http.conf
new file mode 100644 (file)
index 0000000..b1f155f
--- /dev/null
@@ -0,0 +1,12 @@
+server {
+       listen 80;
+       server_name
+        vote.cyclocoop.org;
+       
+       return 301 https://$host$request_uri;
+ }
+upstream cyclo-vote {
+       server 127.0.0.1:5000
+        fail_timeout=300s
+        weight=1;
+ }