In my setup, I have an nginx reverse proxy server that is forwarding traffic to an internal server which is running ONLYOFFICE. I think I have my nginx config set up properly, but I wanted to check here to see if anybody sees any issues with it, or knows what else could be wrong. My DNS should be set up correctly, and the DNS settings UI gives me all green checkmarks.
This is the command I used to run the installer:
Code: Select all
bash workspace-install.sh -md "mail.mydomain.com"
Code: Select all
server {
server_name mail.mydomain.com;
listen 25;
listen 143;
listen 465;
listen 587;
listen 993;
listen 995;
access_log /var/log/nginx/onlyoffice.access.log;
error_log /var/log/nginx/onlyoffice.error.log;
location / {
proxy_pass http://<internal-ip>:$server_port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
}
Code: Select all
995/tcp -> 0.0.0.0:995
25/tcp -> 0.0.0.0:25
4190/tcp -> 0.0.0.0:4190
465/tcp -> 0.0.0.0:465
8081/tcp -> 0.0.0.0:8081
143/tcp -> 0.0.0.0:143
587/tcp -> 0.0.0.0:587
993/tcp -> 0.0.0.0:993
Code: Select all
[
{
"Name": "onlyoffice",
"Id": "07db7ddcc39a5a8bc6072c26ac4817b3e20e1a204238fa680fb907754f2bfa9d",
"Created": "2020-11-12T12:25:05.87785526-07:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [
{
"Subnet": "172.18.0.0/16",
"Gateway": "172.18.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"011fd1625be5088c3beed4bcefb601f4b1d8038b8944e3ac55a3c8a602da97d3": {
"Name": "onlyoffice-mysql-server",
"EndpointID": "83605779984b6fdf695ff05b29666f1fa7bccf7176bf93d9f2df08f9b942b959",
"MacAddress": "02:42:ac:12:00:03",
"IPv4Address": "172.18.0.3/16",
"IPv6Address": ""
},
"1f60a3b2b29e1be4ff4056e633caabf1852d474ed43d3b676ab997aab3329823": {
"Name": "onlyoffice-community-server",
"EndpointID": "4c9f393e1d1b74731c226a3974844d3c4be82f76900711bd28d2a2ac33d9f2d1",
"MacAddress": "02:42:ac:12:00:04",
"IPv4Address": "172.18.0.4/16",
"IPv6Address": ""
},
"2f32a44ca9292eb4e8c9602d1fff8905b42699b20379ae060e153ade98676655": {
"Name": "onlyoffice-mail-server",
"EndpointID": "dc325d7eb9fcc26bee758e1e23ca72f752602eee246f3548b5c08bcf38738d56",
"MacAddress": "02:42:ac:12:00:02",
"IPv4Address": "172.18.0.2/16",
"IPv6Address": ""
},
"40cd6ab12639c9902f5bf6bec86149bf9ab6f66e3ceb8d6ae6b3e006bc5700ce": {
"Name": "onlyoffice-document-server",
"EndpointID": "b19d0cc7b116cfe2c7ee6bd0a38965feff8907667ba5ea3bc1bc8f85324bb974",
"MacAddress": "02:42:ac:12:00:06",
"IPv4Address": "172.18.0.6/16",
"IPv6Address": ""
},
"aac73f29108100f983abe09db37e6fae3137753ee04dcc8c3bccd6e003e5b575": {
"Name": "onlyoffice-control-panel",
"EndpointID": "2a393df5f857186741c5b8ec4c9adf2436c0058ff700e5d85c89c7e5f7b5ffc4",
"MacAddress": "02:42:ac:12:00:05",
"IPv4Address": "172.18.0.5/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
}
]