ONLYOFFICE / docker-onlyoffice-nextcloud

MIT License
363 stars 156 forks source link

OnlyOffice SSL (feature/ssl) #45

Closed LinuxOperator closed 3 years ago

LinuxOperator commented 3 years ago

I was testing the branch "feature/ssl" this week with a lot of excitement because I know SSL has been an issue with this project for a long time.

I know this is probably a work in progress but I am impressed with the progress in this branch. Please let me know if anyone knows what the problem is and I will happily test it and possibly commit the fixes.

Problem:

Steps:

Environment:

LinneyS commented 3 years ago

@heatray

heatray commented 3 years ago

Not finished work on it yet. At the moment, to work, you need to uncomment lines in ssl.yml

  onlyoffice-document-server:
    environment:
      - USE_UNAUTHORIZED_STORAGE=true
LinuxOperator commented 3 years ago

Thank you!! That worked great, thanks for making this branch it saved me a ton of work!

For anyone else trying this .yml files are really picky with indentations. Make sure that each indentation is exactly 2 spaces. Here is the working ssl.yml file:

version: '3'
services:
  ## Uncomment these lines for using self-signed SSL certificate
  onlyoffice-document-server:
    environment:
      - USE_UNAUTHORIZED_STORAGE=true
  nginx:
    volumes:
      - ./certs:/etc/nginx/certs:ro
      - ./nginx-ssl.conf:/etc/nginx/nginx.conf