file "/etc/nginx/sites-available/default" contains outdated configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
The file "/etc/nginx/
#location ~ \.php$ {
# include snippets/
#
# # With php-fpm (or other unix sockets):
# fastcgi_pass unix:/var/
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
#}
But for ubuntu 19.04 the correct value should be:
#location ~ \.php$ {
# include snippets/
#
# # With php-fpm (or other unix sockets):
# fastcgi_pass unix:/var/
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
#}
Please note the new "7.2" instead of the old "7.0".
In that manner, it is sufficient to uncomment the correct line to have a working system.
Thanks & Best Regards
Deglans Dalpasso