Nginx Configuration to Apache -
i'm trying port conf file nginx apache. right collegue running nginx, use apache instead of nginx.
the nginx configuration looks this:
server { listen 80; server_name my_server_name; root /dir_project/web; //angular location / { root /dir_project/web/front; try_files $uri /index.html; } location ~ ^/(uploads)(/.*)$ { root /dir_project/app/data; } //symfony location ~ ^/(assets|bundles)(/.*)$ { #try serve file directly, fallback app.php try_files $uri /app.php$is_args$args; } location ~ ^/(app_dev|config)\.php(/|$) { fastcgi_pass 127.0.0.1:9000; fastcgi_split_path_info ^(.+\.php)(/.*)$; fastcgi_param script_filename$document_root$fastcgi_script_name; fastcgi_buffer_size 32k; fastcgi_buffers 256 32k; fastcgi_max_temp_file_size 0; include fastcgi_params; } error_log /dir_project/app/logs/error.log; access_log /dir_project/app/logs/access.log; }
i want change apache configuration. how can that?
thanks.
Comments
Post a Comment