Compare commits
No commits in common. "8cad33e3c7b65d93ff8f665d7c8bf2d94af9479b" and "711f377a721327f001274ff10277004b3d7c676c" have entirely different histories.
8cad33e3c7
...
711f377a72
43
nginx.conf
43
nginx.conf
@ -1,43 +0,0 @@
|
|||||||
worker_processes 5;
|
|
||||||
daemon off;
|
|
||||||
|
|
||||||
worker_rlimit_nofile 8192;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 4096; # Default: 1024
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
include $!{nginx}/conf/mime.types;
|
|
||||||
index index.html index.htm index.php;
|
|
||||||
|
|
||||||
default_type application/octet-stream;
|
|
||||||
log_format main '$remote_addr - $remote_user [$time_local] $status '
|
|
||||||
'"$request" $body_bytes_sent "$http_referer" '
|
|
||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
|
||||||
access_log /dev/stdout;
|
|
||||||
error_log /dev/stdout;
|
|
||||||
sendfile on;
|
|
||||||
tcp_nopush on;
|
|
||||||
server_names_hash_bucket_size 128; # this seems to be required for some vhosts
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name ggdworkshop.cmat.edu.uy;
|
|
||||||
index index.php index.html index.html;
|
|
||||||
error_log /var/log/nginx/ggdworkshop/error.log;
|
|
||||||
access_log /var/log/nginx/ggdworkshop/access.log;
|
|
||||||
root /usr/share/nginx/sites/ggdworkshop/public;
|
|
||||||
location / {
|
|
||||||
try_files $uri /index.php$is_args$args;
|
|
||||||
}
|
|
||||||
location ~ \.php$ {
|
|
||||||
try_files $uri =404;
|
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
|
||||||
fastcgi_index index.php;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
include fastcgi_params;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user