Page MenuHomeDevCentral

D1582.diff
No OneTemporary

D1582.diff

diff --git a/roles/webserver-legacy/nginx/files/vhosts/dereckson.be/hg.conf b/roles/webserver-legacy/nginx/files/vhosts/dereckson.be/hg.conf
new file mode 100644
--- /dev/null
+++ b/roles/webserver-legacy/nginx/files/vhosts/dereckson.be/hg.conf
@@ -0,0 +1,38 @@
+# -------------------------------------------------------------
+# Webserver
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Site: hg.dereckson.be
+# License: Trivial work, not eligible to copyright
+# Source file: roles/webserver-legacy/nginx/files/vhosts/dereckson.be/hg.conf
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name hg.dereckson.be;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/hg.dereckson.be/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/hg.dereckson.be/privkey.pem;
+
+ error_log /var/log/www/dereckson.be/hg-error.log;
+ access_log /var/log/www/dereckson.be/hg-access.log;
+
+ include includes/letsencrypt;
+
+ # hg.dereckson.be/zed repository has been renamed zed-hg
+ location ~ ^/zed(/?.*)$ {
+ return 302 https://bitbucket.org/dereckson/zed-hg$1;
+ }
+
+ location / {
+ return 301 https://bitbucket.org/dereckson$request_uri;
+ }
+}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 16:18 (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2314102
Default Alt Text
D1582.diff (1 KB)

Event Timeline