Hi, Followed this guide to install https://www.howtoforge.com/tutorial...u-18-04-nginx-bind-dovecot-and-ispconfig-3/3/. Now want to add the directives that were present in the tutorial but no idea where the configuration files are so I can add them? Just want to know where the configuration files are so I can paste the directives for phpMyAdmin configuration, Roundcube configuration etc?
I just dont know clearly what u mean but the main configs of phpmyadmin (if installed with apt-get install) in /etc/phpmyadmin.config.inc.php The settings for the web-application is on /usr/share/phpmyadmin/config.sample.inc.php if u do not changes anything. If yes perhaps on /usr/share/phpmyadmin/config.inc.php
Thanks for the reply. I mean where do I put the below code for example as it says add them to the phpmyadmin and squirrel configuration: If you use https instead of http for your vhost, you should add the line fastcgi_param HTTPS on; to your phpMyAdmin configuration like this: location /phpmyadmin { root /usr/share/; index index.php index.html index.htm; location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; fastcgi_param HTTPS on; # <-- add this line fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; include /etc/nginx/fastcgi_params; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; } location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /phpMyAdmin { rewrite ^/* /phpmyadmin last; } And this: If you use https instead of http for your vhost, you should add the line fastcgi_param HTTPS on; to your SquirrelMail configuration like this: location /roundcube { root /usr/share/; index index.php index.html index.htm; location ~ ^/roundcube/(.+\.php)$ { try_files $uri =404; root /usr/share/; fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; fastcgi_param HTTPS on; # <-- add this line fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; include /etc/nginx/fastcgi_params; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; } location ~* ^/roundcube/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /webmail { rewrite ^/* /roundcube last; } Does it mean in the options tab in ISPconfig for each website or otherwise?
I did this already, I know of the options tab but am speaking of the code that I replied to Frankestein about. The tutorial states to add the code to PHPmyadmin and squirrel etc in the configuration files but no idea where these files are located.
The tutorial states "To do this, paste the following into the nginx Directives field on the Options tab of the web site in ISPConfig"
Ok Till, just to be clear all this code needs to be in each website options tab along with all the other configuration code etc? Thanks in advance for clarifying.
Yes. But only if you do not want to use the default way to access phpmyadmin and roundcube which is to use port 8081. http://yourdomain.tld:8081/phpmyadmin/ and http://yourdomain.tld:8081/webmail/
Right, I want to use the default way to access those urls, the main point I want to follow those parts of the tutorial is to enable the https for control panel, phpmyadmin and webmail because I am struggling with that.