Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3937649
D1582.id4044.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1582.id4044.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 19:44 (16 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2314102
Default Alt Text
D1582.id4044.diff (1 KB)
Attached To
Mode
D1582: Serve hg.dereckson.be
Attached
Detach File
Event Timeline
Log In to Comment