This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update | |
| sudo apt install php-xdebug | |
| # [7.2] path may be different on your system, check it. | |
| sudo nano /etc/php/7.2/mods-available/xdebug.ini | |
| Add the following code into xdebug.ini file: | |
| zend_extension=/usr/lib/php/20151012/xdebug.so # [20151012] path may be different on your system, check it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // the easy way to have any subdomain without the need to generate new cert or add dns record everytime is to create CNAME | |
| for all subdomains using the * wildcard and then generate cert for all subdomain including the main domain with: | |
| sudo certbot -d *.example.com --preferred-challenges=dns-01 --agree-tos certonly --manual |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream frappe-bench-frappe { | |
| server 127.0.0.1:8000 fail_timeout=0; | |
| } | |
| upstream frappe-bench-socketio-server { | |
| server 127.0.0.1:9000 fail_timeout=0; | |
| } | |
NewerOlder