commit
4b0f58f1b2
@ -1044,6 +1044,7 @@ _Note: You can customize the port on which beanstalkd console is listening by ch
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
<a name="Use-Confluence"></a>
|
<a name="Use-Confluence"></a>
|
||||||
|
|
||||||
## Use Confluence
|
## Use Confluence
|
||||||
|
|
||||||
1 - Run the Confluence Container (`confluence`) with the `docker-compose up` command. Example:
|
1 - Run the Confluence Container (`confluence`) with the `docker-compose up` command. Example:
|
||||||
@ -1058,6 +1059,15 @@ docker-compose up -d confluence
|
|||||||
|
|
||||||
You can set custom confluence version in `CONFLUENCE_VERSION`. [Find more info in section 'Versioning'](https://hub.docker.com/r/atlassian/confluence-server/)
|
You can set custom confluence version in `CONFLUENCE_VERSION`. [Find more info in section 'Versioning'](https://hub.docker.com/r/atlassian/confluence-server/)
|
||||||
|
|
||||||
|
|
||||||
|
##### Confluence usage with Nginx and SSL.
|
||||||
|
|
||||||
|
1. Find an instance configuration file in `nginx/sites/confluence.conf.example` and replace sample domain with yours.
|
||||||
|
|
||||||
|
2. Configure ssl keys to your domain.
|
||||||
|
|
||||||
|
Keep in mind that Confluence is still accessible on 8090 anyway.
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<a name="Use-ElasticSearch"></a>
|
<a name="Use-ElasticSearch"></a>
|
||||||
## Use ElasticSearch
|
## Use ElasticSearch
|
||||||
|
@ -1628,4 +1628,4 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/Confluence:/var/atlassian/application-data
|
- ${DATA_PATH_HOST}/Confluence:/var/atlassian/application-data
|
43
nginx/sites/confluence.conf.example
Normal file
43
nginx/sites/confluence.conf.example
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name www.confluence-domain.com;
|
||||||
|
rewrite ^(.*) https://confluence-domain.com$1/ permanent;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name confluence-domain.com;
|
||||||
|
rewrite ^(.*) https://confluence-domain.com/ permanent;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
ssl_certificate /etc/nginx/ssl/confluence-domain.com.crt;
|
||||||
|
ssl_certificate_key /etc/nginx/ssl/confluence-domain.com.key;
|
||||||
|
|
||||||
|
server_name confluence-domain.com;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
client_max_body_size 100m;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_pass http://confluence-domain.com:8090/;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /synchrony {
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_pass http://confluence-domain.com:8090/synchrony-proxy;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
}
|
||||||
|
|
||||||
|
error_log /var/log/nginx/bookchangerru_error.log;
|
||||||
|
access_log /var/log/nginx/bookchangerru_access.log;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user