You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Solid server (solid v0.2.24) running on https://localhost:8443/
60
60
```
61
61
62
+
### Running in development environments
63
+
64
+
Solid requires SSL certificates to be valid, so you cannot use self-signed certificates. To switch off this security feature in development environments, you can use the `bin/solid-test` executable, which unsets the `NODE_TLS_REJECT_UNAUTHORIZED` flag and sets the `rejectUnauthorized` option.
65
+
62
66
##### How do I get an SSL key and certificate?
63
-
You need an SSL certificate you get this from your domain provider or for free from[Let's Encrypt!](https://letsencrypt.org/getting-started/).
67
+
You need an SSL certificate from a _certificate authority_, such as your domain provider or [Let's Encrypt!](https://letsencrypt.org/getting-started/).
64
68
65
-
If you don't have one yet, or you just want to test `solid`, generate a certificate (**DO NOT USE IN PRODUCTION**):
69
+
For testing purposes, you can use `bin/solid-test` with a _self-signed_certificate, generated as follows:
Your users will have a dedicated folder under `./accounts`. Also, your root domain's website will be in `./accounts/yourdomain.tld`. New users can create accounts on `/api/accounts/new` and create new certificates on `/api/accounts/cert`. An easy-to-use sign-up tool is found on `/api/accounts`.
95
99
100
+
### Running Solid behind a reverse proxy (such as NGINX)
101
+
See [Running Solid behind a reverse proxy](https://github.com/solid/node-solid-server/wiki/Running-Solid-behind-a-reverse-proxy).
102
+
96
103
##### How can send emails to my users with my Gmail?
97
104
98
105
> To use Gmail you may need to configure ["Allow Less Secure Apps"](https://www.google.com/settings/security/lesssecureapps) in your Gmail account unless you are using 2FA in which case you would have to create an [Application Specific](https://security.google.com/settings/security/apppasswords) password. You also may need to unlock your account with ["Allow access to your Google account"](https://accounts.google.com/DisplayUnlockCaptcha) to use SMTP.
@@ -138,31 +145,49 @@ $ solid init --help
138
145
139
146
140
147
$ solid start --help
148
+
141
149
Usage: start [options]
150
+
142
151
run the Solid server
143
152
153
+
144
154
Options:
145
-
-h, --help output usage information
146
-
--root [value] Root folder to serve (defaut: './')
147
-
--port [value] Port to use (default: '8443')
148
-
--serverUri [value] Solid server uri (default: 'https://localhost:8443')
149
-
--webid Enable WebID authentication and access control (uses HTTPS. default: true)
150
-
--owner [value] Set the owner of the storage (overwrites the root ACL file)
151
-
--ssl-key [value] Path to the SSL private key in PEM format
152
-
--ssl-cert [value] Path to the SSL certificate key in PEM format
153
-
--idp Enable multi-user mode (users can sign up for accounts)
154
-
--proxy [value] Serve proxy on path (default: '/proxy')
155
-
--file-browser [value] Url to file browser app (uses Warp by default)
156
-
--data-browser Enable viewing RDF resources using a default data browser application (e.g. mashlib)
157
-
--suffix-acl [value] Suffix for acl files (default: '.acl')
158
-
--suffix-meta [value] Suffix for metadata files (default: '.meta')
159
-
--secret [value] Secret used to sign the session ID cookie (e.g. "your secret phrase")
160
-
--error-pages [value] Folder from which to look for custom error pages files (files must be named <error-code>.html -- eg. 500.html)
161
-
--mount [value] Serve on a specific URL path (default: '/')
162
-
--force-user [value] Force a WebID to always be logged in (useful when offline)
163
-
--strict-origin Enforce same origin policy in the ACL
164
-
-v, --verbose Print the logs to console
165
-
```
155
+
156
+
--root [value] Root folder to serve (default: './data')
157
+
--port [value] SSL port to use
158
+
--serverUri [value] Solid server uri (default: 'https://localhost:8443')
159
+
--webid Enable WebID authentication and access control (uses HTTPS)
160
+
--mount [value] Serve on a specific URL path (default: '/')
161
+
--config-path [value]
162
+
--db-path [value]
163
+
--auth [value] Pick an authentication strategy for WebID: `tls` or `oidc`
164
+
--certificate-header [value]
165
+
--owner [value] Set the owner of the storage (overwrites the root ACL file)
166
+
--ssl-key [value] Path to the SSL private key in PEM format
167
+
--ssl-cert [value] Path to the SSL certificate key in PEM format
0 commit comments