Editing FoolFuuka/Install/Ubuntu16
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 141: | Line 141: | ||
== Configure Nginx to host foolfuuka == | == Configure Nginx to host foolfuuka == | ||
Modify / Add these lines | |||
{{hc|sudo nano /etc/nginx/sites-enabled/ | {{hc|sudo nano /etc/nginx/sites-enabled/default|<nowiki> | ||
root /home/ubuntu/foolfuuka/public; | |||
index index.php index.html index.htm; | |||
client_max_body_size 32M; # set to the same as max PHP upload size in HHVM | |||
location / { | |||
try_files $uri $uri/ /index.php$is_args$args; | |||
} | |||
include hhvm.conf | |||
</nowiki>}} | </nowiki>}} | ||