Commit 9dfa3223 authored by Mickaël Bourgier's avatar Mickaël Bourgier
Browse files

[nginx] Add some vhosts

parent 494749d2
server {
listen 80;
charset utf-8;
server_name api.edl-particuliers.localhost;
root "/home/chapa/Documents/Development/Client projects/edl-particuliers-backend/public";
client_max_body_size 1000M;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ \.(css|js)\.map$ {
try_files $uri =404;
}
include php.conf;
error_log /var/log/nginx/edl-particuliers_errors.log;
access_log /var/log/nginx/edl-particuliers_access.log;
}
server {
listen 80;
charset utf-8;
server_name api.game-backups.localhost;
root "/home/chapa/Documents/Development/Personal projects/game-backups-server/public";
client_max_body_size 1000M;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ \.(css|js)\.map$ {
try_files $uri =404;
}
include php.conf;
error_log /var/log/nginx/game-backups_errors.log;
access_log /var/log/nginx/game-backups_access.log;
}
server {
listen 80;
charset utf-8;
server_name pma57.localhost;
location / {
proxy_pass http://phpmyadmin57;
}
error_log /var/log/nginx/phpmyadmin57_errors.log;
access_log /var/log/nginx/phpmyadmin57_access.log;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment