Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to login #180

Open
asim9443 opened this issue Jul 29, 2023 · 1 comment
Open

not able to login #180

asim9443 opened this issue Jul 29, 2023 · 1 comment

Comments

@asim9443
Copy link

image
please help me to resolve this issue thanks

@asim9443
Copy link
Author

asim9443 commented Jul 29, 2023

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant