This repository was archived by the owner on Jan 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,9 @@ project and you should be ready to go! It should look something like below:
122122
123123``` apache
124124<VirtualHost *:80>
125- ServerName zf2-app .localhost
126- DocumentRoot /path/to/zf2-app /public
127- <Directory /path/to/zf2-app /public>
125+ ServerName zfapp .localhost
126+ DocumentRoot /path/to/zfapp /public
127+ <Directory /path/to/zfapp /public>
128128 DirectoryIndex index.php
129129 AllowOverride All
130130 Order allow,deny
@@ -150,14 +150,14 @@ http {
150150```
151151
152152
153- Create a virtual host configuration file for your project under ` /path/to/nginx/sites-enabled/zf2-app .localhost.conf `
153+ Create a virtual host configuration file for your project under ` /path/to/nginx/sites-enabled/zfapp .localhost.conf `
154154it should look something like below:
155155
156156``` nginx
157157server {
158158 listen 80;
159- server_name zf2-app .localhost;
160- root /path/to/zf2-app /public;
159+ server_name zfapp .localhost;
160+ root /path/to/zfapp /public;
161161
162162 location / {
163163 index index.php;
@@ -167,7 +167,7 @@ server {
167167 location @php {
168168 # Pass the PHP requests to FastCGI server (php-fpm) on 127.0.0.1:9000
169169 fastcgi_pass 127.0.0.1:9000;
170- fastcgi_param SCRIPT_FILENAME /path/to/zf2-app /public/index.php;
170+ fastcgi_param SCRIPT_FILENAME /path/to/zfapp /public/index.php;
171171 include fastcgi_params;
172172 }
173173}
You can’t perform that action at this time.
0 commit comments