Discussions
Activity
Sign In
How it works
Superdesk Development
Liveblog working only in HTTP(80)
Vote Up
0
Vote Down
seblec
June 2016
Posts: 1
Member
Hello,
Please, could you check this issue :
https://github.com/liveblog/liveblog/issues/387
How is it possible to configure and run Liveblog's docker to serve HTTPS content only.
Thanks a lot in advance
1 Comment
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Andrey Podshivalov
June 2016
Posts: 1,526
Member, Administrator, Sourcefabric Team
the current superdesk docker image is for development purposes and can't be recommended for production using.
the simplest way to up https:
1. move binded docker http port to non-80 port (e.g 82)
2. start nginx server with ssl support on host where docker is running
the site config looks like:
server {
listen 80;
listen 443 ssl;
server_name some_public_name;
location / {
proxy_pass "
http://localhost:82
";
proxy_set_header Host $host;
}
location /ws {
proxy_pass "
http://localhost:82
";
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_http_version 1.1;
proxy_buffering off;
proxy_read_timeout 3600;
}
}
don't forget to define ssl parameters and certificates
3. define superdesk parameters:
- SUPERDESK_URL=https://
some_public_name
/api
- SUPERDESK_WS_URL=wss://
some_public_name
/ws
- SUPERDESK_CLIENT_URL=https://
some_public_name
4. restart docker, nginx
Post edited by Andrey Podshivalov at 2016-06-07 05:02:14
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339