Skip to content

Commit 53772e6

Browse files
committed
fix: upgrade http to https
1 parent 8780145 commit 53772e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/web-server/apache/coder.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<VirtualHost *:80>
22
ServerName coder.example.com
33
ServerAlias *.coder.example.com
4-
Redirect permanent / https://coder.example.com/
4+
<Location "/">
5+
Redirect permanent "https://%{HTTP_HOST}%{REQUEST_URI}"
6+
</Location>
57
</VirtualHost>
68

79
<VirtualHost *:443>

0 commit comments

Comments
 (0)