Open asim9443 opened 1 year ago
i'm using catboat for ssl so in my case my apache config file is:
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
ServerName food.digitalpos.ca
SSLCertificateFile /etc/letsencrypt/live/food.digitalpos.ca/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/food.digitalpos.ca/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
<Directory /var/www/html>
AllowOverride all
</Directory>
# WSPROXY CONF (If required, add the WebSocket proxy configuration here again)
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RewriteEngine On
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteRule /(.*) ws://localhost:8080/$1 [P,L]
ProxyPass /socket.io https://localhost:8080/socket.io/
ProxyPassReverse /socket.io https://localhost:8080/socket.io/
<Location /socket.io>
Order allow,deny
Allow from all
</Location>
please help me to resolve this issue thanks