diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-17 12:41:39 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-17 12:41:39 +0200 |
| commit | 8ea568e6f84c9c14c26377643adb64134aed3d09 (patch) | |
| tree | 94c41c41960799aa406c1b9802f3d9c5cc9caaa9 /srcs/nginx/src | |
| parent | 334a3cef81c3e079fbf4f43d906c12037c6864a9 (diff) | |
| download | ft_services-8ea568e6f84c9c14c26377643adb64134aed3d09.tar.gz ft_services-8ea568e6f84c9c14c26377643adb64134aed3d09.tar.bz2 ft_services-8ea568e6f84c9c14c26377643adb64134aed3d09.zip | |
Added wordpress and phpmyadmin deployment/service
Diffstat (limited to 'srcs/nginx/src')
| -rw-r--r-- | srcs/nginx/src/ft_services.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/srcs/nginx/src/ft_services.conf b/srcs/nginx/src/ft_services.conf index 435a12c..642dc8c 100644 --- a/srcs/nginx/src/ft_services.conf +++ b/srcs/nginx/src/ft_services.conf @@ -12,6 +12,14 @@ server { location / { try_files $uri $uri/ =404; # if uri or uri/ not valid, 404 error } + + location /wordpress { + return 307 https://$host:5050; + } + + location /phpmyadmin { + proxy_pass https://$host:5000; + } } server { @@ -27,3 +35,5 @@ server { } return 301 https://$host$request_uri; } + +# vim:ft=conf |
