Skip to content

Commit 1e42af3

Browse files
committed
No websockets needed for the Tesla Login app
1 parent 35bf587 commit 1e42af3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tesla_login/example-tesla_login-apache.conf

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,9 @@
44
ErrorLog ${APACHE_LOG_DIR}/openevse_error.log
55
CustomLog ${APACHE_LOG_DIR}/openevse_access.log combined
66

7-
ProxyRequests Off
8-
ProxyPass "/" "ws://localhost:3000/"
9-
ProxyPassReverse "/" "ws://localhost:3000/"
10-
117
RewriteEngine on
128
#LogLevel alert rewrite:trace6
139

14-
# Redirect web sockets
15-
RewriteRule / ws://localhost:3000/ [L,P]
16-
1710
# Redirect missing files to the ap server
1811
RewriteCond %{REQUEST_FILENAME} !-d
1912
RewriteCond %{REQUEST_FILENAME} !-f
@@ -35,16 +28,9 @@
3528
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
3629
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
3730

38-
ProxyRequests Off
39-
ProxyPass "/" "ws://localhost:3000/"
40-
ProxyPassReverse "/" "ws://localhost:3000/"
41-
4231
RewriteEngine on
4332
#LogLevel alert rewrite:trace6
4433

45-
# Redirect web sockets
46-
RewriteRule / ws://localhost:3000/ [L,P]
47-
4834
# Redirect missing files to the ap server
4935
RewriteCond %{REQUEST_FILENAME} !-d
5036
RewriteCond %{REQUEST_FILENAME} !-f

0 commit comments

Comments
 (0)