Skip to content

Commit 4e120fd

Browse files
authored
Update apache2.conf
1 parent 419cfb1 commit 4e120fd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

with_jsx/server/mojo_react_app/etc/apache2.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
SSLProxyCheckPeerCN off
2424
SSLProxyCheckPeerName off
2525
SSLProxyCheckPeerExpire off
26-
SSLCertificateFile "/etc/ssl/certs/apache-selfsigned.crt"
27-
SSLCertificateKeyFile "/etc/ssl/private/apache-selfsigned.key"
26+
SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
27+
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
2828

2929
DocumentRoot /var/www/html
3030
<Proxy *>
@@ -33,12 +33,12 @@
3333
</Proxy>
3434
ProxyRequests Off
3535
ProxyPreserveHost On
36-
ProxyPass / https://localhost:6363/ keepalive=On
37-
ProxyPassReverse / https://localhost:6363/
36+
ProxyPass / uwsgi://127.0.0.1:6363/ keepalive=On
37+
ProxyPassReverse / uwsgi://127.0.0.1:6363/
3838
RequestHeader set X-Forwarded-Ssl on
3939
RequestHeader set X-Forwarded-Proto "https"
4040

4141
ErrorLog ${APACHE_LOG_DIR}/%{SERVER_NAME}-error.log
4242
LogLevel warn
4343
CustomLog ${APACHE_LOG_DIR}/%{SERVER_NAME}-access.log combined
44-
</VirtualHost>
44+
</VirtualHost>

0 commit comments

Comments
 (0)