File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -178,14 +178,19 @@ To use it, simply install `npm install express express-session` and add the foll
178
178
179
179
Then launch the web page in the browser at ` http://127.0.0.1:8889 `
180
180
181
- The web page is designed to be used with a proxy pass from nginx or httpd.
181
+ The web page is designed to be used with a proxy from nginx or httpd, by creating a subdomain like https://j-bnc.domain.com and configuring the proxy:
182
182
183
183
For nginx, something like:
184
184
185
185
```
186
186
server {
187
- ...
188
- location /adminpanel {
187
+ listen 443 ssl;
188
+ server_name j-bnc.domain.com;
189
+
190
+ ssl_certificate /path/to/your/certificate.crt;
191
+ ssl_certificate_key /path/to/your/private.key;
192
+
193
+ location / {
189
194
proxy_pass http://127.0.0.1:8889;
190
195
...
191
196
}
@@ -196,9 +201,14 @@ And for httpd:
196
201
197
202
```
198
203
<VirtualHost *:443>
199
- ...
200
- ProxyPass /adminpanel http://127.0.0.1:8889
201
- ProxyPassReverse /adminpanel http://127.0.0.1:8889
204
+ ServerName j-bnc.domain.com
205
+
206
+ SSLEngine on
207
+ SSLCertificateFile /path/to/your/certificate.crt
208
+ SSLCertificateKeyFile /path/to/your/private.key
209
+
210
+ ProxyPass / http://127.0.0.1:8889/
211
+ ProxyPassReverse / http://127.0.0.1:8889/
202
212
...
203
213
</VirtualHost>
204
214
```
You can’t perform that action at this time.
0 commit comments