Skip to content

Commit 66d1de3

Browse files
committed
Formatting Apache HTTP configuration (remove tab)
1 parent 829e283 commit 66d1de3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

posts/running-coder-in-k3s/index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ $ mkdir ~/apachehttp
405405

406406
```
407407
<VirtualHost *:443>
408-
SSLEngine On
409-
SSLProxyEngine on
408+
SSLEngine On
409+
SSLProxyEngine on
410410
411411
SSLProxyVerify none
412412
SSLProxyCheckPeerCN off
@@ -424,14 +424,14 @@ $ mkdir ~/apachehttp
424424
RequestHeader set X-Forwarded-Proto https"
425425
RequestHeader set X-Forwarded-Port "443"
426426
427-
# Certificates
427+
# Certificates
428428
SSLCertificateFile /ssl/fullchain.pem
429429
SSLCertificateKeyFile /ssl/privkey.pem
430430
431-
ServerName *.coder.mydomain.com
431+
ServerName *.coder.mydomain.com
432432
433-
ProxyPreserveHost On
434-
ProxyRequests off
433+
ProxyPreserveHost On
434+
ProxyRequests off
435435
ProxyPass / http://k3sserver:8080/ upgrade=any
436436
ProxyPassReverse / http://k3sserver:8080/
437437
@@ -441,15 +441,15 @@ $ mkdir ~/apachehttp
441441
RewriteCond %{HTTP:Upgrade} websocket [NC]
442442
RewriteRule /(.*) ws://k3sserver:8080/$1 [P,L]
443443
444-
# Custom log file for SSL
444+
# Custom log file for SSL
445445
ErrorLog /var/log/apachehttp/coder/error.log
446446
CustomLog /var/log/apachehttp/coder/access.log combined
447447
</VirtualHost>
448448
449449
<VirtualHost *:80>
450-
ServerName *.coder.mydomain.com
451-
RewriteEngine On
452-
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
450+
ServerName *.coder.mydomain.com
451+
RewriteEngine On
452+
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
453453
</VirtualHost>
454454
```
455455

0 commit comments

Comments
 (0)