Enter that code(server { ~~~~ ) in the additional directive field of this office.main.com.
I do not know the setting in one domain(server). That is written in the manual. Write it in the additional directive field.
I entered the above into the following file.
/opt/plesk/php/{PHP VERSION NUMBER}/etc/php-fpm.conf
Installation for Plesk seems to be difficult. Plesk seems to be unique.
I do not know if these are correct methods. It seems that direct description in nginx.conf is being ignored. Since there was no one who knew Collabora and PLESK around me, I installed it while studying on the internet by my own study. I also used this forum.
Thank you Zoo3, but it’s not all perfectly clear yet for me.
printenv path is php.ini path?
or “/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”
I also tried to install Collabora / code directly from Docker, but it does not let me configure the ports manually.
At the moment, in Docker Settings (collabora image) I see:
DOMAIN: cloud.\domain.\tld
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
domain (lowercase!!): localhost
LC_TYPE: en:US.UTF-8
Manual port map: 9980:9980
If I confirm, it gives me an error. I have to change lowercase “domain” var in uppercase “DOMAIN”.
→
When you enter “printenv PATH” command the your server’s path will be displayed. Write the path to env[PATH].
I also tried to install Collabora / code directly from Docker, but it does not let me configure the ports manually.
At the moment, in Docker Settings (collabora image) I see:
In that way you need to install the Docker container from the command line. You should not use the PLESK UI. If you use PLESK UI, variables such as “domain” will be capitalized. They should be lowercase. Furthermore do not edit containers with PLESK UI after you enter on this command line. In other words, in the case of Collabora, you should never use PLESK UI.
The part of “cloud.domain.conf” you wrote. (It is the part below “#static files”.) I wrote this on additional directives(in apache and nginx setting) on office.sample.com. I have not written it in the .conf file. Plesk seems to ignore them.