servers:nginx:dokuwiki
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
servers:nginx:dokuwiki [2019/10/23 20:49] – Sean Rhone | servers:nginx:dokuwiki [2019/12/15 10:33] – [PHP-FPM Socket] Sean Rhone | ||
---|---|---|---|
Line 49: | Line 49: | ||
php_value[session.save_handler] = " | php_value[session.save_handler] = " | ||
- | php_value[session.save_path] = "/ | + | php_value[session.save_path] = "/ |
php_value[soap.wsdl_cache_dir] = "/ | php_value[soap.wsdl_cache_dir] = "/ | ||
php_value[opcache.file_cache] = "/ | php_value[opcache.file_cache] = "/ | ||
Line 159: | Line 159: | ||
< | < | ||
[Service] | [Service] | ||
- | User=nginx | + | User=www-data |
- | Group=nginx | + | Group=www-data |
Type=oneshot | Type=oneshot | ||
ExecStart='/ | ExecStart='/ | ||
- | ExecStartPost=' | + | ExecStartPost='/ |
==== Timer ==== | ==== Timer ==== | ||
Line 189: | Line 189: | ||
==== Service ==== | ==== Service ==== | ||
+ | |||
+ | * :!: The commented '' | ||
sudo -e '/ | sudo -e '/ | ||
Line 194: | Line 196: | ||
< | < | ||
[Service] | [Service] | ||
- | User=nginx | + | User=www-data |
- | Group=nginx | + | Group=www-data |
Type=oneshot | Type=oneshot | ||
WorkingDirectory=/ | WorkingDirectory=/ | ||
ExecStart='/ | ExecStart='/ | ||
ExecStart='/ | ExecStart='/ | ||
- | ExecStart=' | + | #ExecStart='/ |
- | ExecStart=' | + | ExecStart='/ |
ExecStart='/ | ExecStart='/ | ||
- | ExecStartPost=' | + | ExecStartPost='/ |
==== Timer ==== | ==== Timer ==== | ||
Line 234: | Line 236: | ||
Type=oneshot | Type=oneshot | ||
WorkingDirectory=/ | WorkingDirectory=/ | ||
- | ExecStart=' | + | ExecStart='/ |
- | ExecStartPost=' | + | ExecStartPost='/ |
==== Timer ==== | ==== Timer ==== | ||
Line 308: | Line 310: | ||
**** | **** | ||
- | cd '/ | + | cd '/ |
- | + | ||
- | ==== SELinux ==== | + | |
- | + | ||
- | sudo semanage fcontext --deleteall "/ | + | |
- | + | ||
- | sudo semanage fcontext --add --type ' | + | |
- | + | ||
- | sudo restorecon -R -v '/ | + | |
==== Start nginx ==== | ==== Start nginx ==== |
/var/www/wiki/data/pages/servers/nginx/dokuwiki.txt · Last modified: 2024/02/07 16:37 by Sean Rhone