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

[Docker and npm] dashboard loading blank page #1574

Closed
3 tasks done
DevDorrejo opened this issue Jul 20, 2020 · 1 comment
Closed
3 tasks done

[Docker and npm] dashboard loading blank page #1574

DevDorrejo opened this issue Jul 20, 2020 · 1 comment

Comments

@DevDorrejo
Copy link

DevDorrejo commented Jul 20, 2020

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • You're running version >=1.0.23 of Parse Dashboard.

  • You're running version >=2.3.2 of Parse Server.

  • You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Steps to reproduce

npm install -g parse-dashboard: parse-dashboard
or
docker run -d -p 4040:4040 parseplatform/parse-dashboard --dev
go to public IP
Appear Blank Screen

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.
image

@DevDorrejo
Copy link
Author

found that this error is how are the configuration on apache, but have not found how to configure the apache.

how can i enable dashboard to access from a subdomain?

if i create a tunnel with ssh -L, will work.

http://127.0.0.1:4040
image

docker run -d --network=host parseplatform/parse-dashboard --appName Astian-Sync --appId appid --masterKey masterkey --serverURL http://localhost:1337/parse --allowInsecureHTTP true

<IfModule mod_ssl.c>
<VirtualHost *:443>
#ServerAdmin webmaster@dummy-host.example.com
ServerName www.ds.astian.org
ServerAlias ds.astian.org

ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:4040
ProxyPassReverse / http://localhost:4040
#SSLProxyEngine on

<Proxy *>
Require all granted
</Proxy>

# if not specified, the global error log is used
ErrorLog /var/log/apache2/aservices/sync/ds_error_log
CustomLog /var/log/apache2/aservices/sync/ds_access_log combined

# don't loose time with IP address lookups
HostnameLookups Off
# needed for named virtual hosts
UseCanonicalName Off
# configures the footer on server-generated documents
ServerSignature On

SSLCertificateFile /etc/letsencrypt/live/ds.astian.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ds.astian.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

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