Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3796979
D1584.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D1584.diff
View Options
diff --git a/roles/webserver-legacy/nginx/files/vhosts/hypership.space/www.conf b/roles/webserver-legacy/nginx/files/vhosts/hypership.space/www.conf
new file mode 100644
--- /dev/null
+++ b/roles/webserver-legacy/nginx/files/vhosts/hypership.space/www.conf
@@ -0,0 +1,81 @@
+# -------------------------------------------------------------
+# Webserver
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Site: hypership.space
+# License: Trivial work, not eligible to copyright
+# Source file: roles/webserver-legacy/nginx/files/vhosts/hypership.space/www.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>
+
+# -------------------------------------------------------------
+# Main application
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+server {
+ server_name hypership.space;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/hypership.space/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/hypership.space/privkey.pem;
+
+ error_log /var/log/www/hypership.space/www-error.log;
+ access_log /var/log/www/hypership.space/www-access.log;
+
+ location / {
+ return 503;
+ }
+}
+
+# -------------------------------------------------------------
+# Redirections from port 80 and alternative domains
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name hypership.space;
+
+ include includes/letsencrypt;
+
+ location / {
+ return 301 https://hypership.space$request_uri;
+ }
+}
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name www.hypership.space zed.dereckson.be;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/hypership.space/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/hypership.space/privkey.pem;
+
+ include includes/letsencrypt;
+
+ location / {
+ return 301 https://hypership.space$request_uri;
+ }
+}
+
+# -------------------------------------------------------------
+# Development and staging area
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name zed51.dereckson.be;
+
+ include includes/letsencrypt;
+
+ location / {
+ return 503;
+ }
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 29, 08:43 (22 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2271013
Default Alt Text
D1584.diff (2 KB)
Attached To
Mode
D1584: Serve Zed website
Attached
Detach File
Event Timeline
Log In to Comment