Commit 2440fc91 by Ali Arshad

Updated config

parent cf47aff7
...@@ -14,11 +14,11 @@ services: ...@@ -14,11 +14,11 @@ services:
- database.env - database.env
restart: unless-stopped restart: unless-stopped
mem_limit: 512M mem_limit: 512M
container_name: wp_portfolio_web container_name: wp_hr_web
nginx: nginx:
image: nginx:latest image: nginx:latest
ports: ports:
- '20010:80' - '30070:80'
volumes: volumes:
- ../nginx:/etc/nginx/conf.d - ../nginx:/etc/nginx/conf.d
- ../logs/nginx:/var/log/nginx - ../logs/nginx:/var/log/nginx
...@@ -26,7 +26,7 @@ services: ...@@ -26,7 +26,7 @@ services:
links: links:
- wordpress - wordpress
restart: unless-stopped restart: unless-stopped
container_name: wp_portfolio_nginx container_name: wp_hr_nginx
db: db:
image: mariadb image: mariadb
volumes: volumes:
...@@ -35,22 +35,22 @@ services: ...@@ -35,22 +35,22 @@ services:
- database.env - database.env
restart: unless-stopped restart: unless-stopped
mem_limit: 256M mem_limit: 256M
container_name: wp_portfolio_db container_name: wp_hr_db
cron: # cron:
build: # build:
context: ../BACKUP # context: ../BACKUP
hostname: mail.vqode.com # hostname: mail.vqode.com
depends_on: # depends_on:
- db # - db
- wordpress # - wordpress
links: # links:
- db # - db
volumes: # volumes:
- ./WWW_DATA:/var/www/html # - ./WWW_DATA:/var/www/html
env_file: # env_file:
- database.env # - database.env
restart: unless-stopped # restart: unless-stopped
container_name: wp_portfolio_backup_service # container_name: wp_hr_backup_service
# sftp: # sftp:
# image: atmoz/sftp # image: atmoz/sftp
# volumes: # volumes:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
2019/01/10 12:25:12 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010"
2019/01/10 12:25:13 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010", referrer: "http://localhost:20010/"
2019/01/10 12:26:02 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010"
2019/01/10 12:26:02 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010", referrer: "http://localhost:20010/"
2019/01/10 12:29:58 [error] 7#7: *15 client intended to send too large body: 2894738 bytes, client: 172.20.0.1, server: , request: "POST /wp-admin/update.php?action=upload-theme HTTP/1.1", host: "localhost:20010", referrer: "http://localhost:20010/wp-admin/theme-install.php?browse=featured"
2019/01/10 12:47:34 [error] 6#6: *101 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.20.0.1, server: , request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010", referrer: "http://localhost:20010/wp-admin/admin.php?page=pure_options"
...@@ -6,8 +6,8 @@ server { ...@@ -6,8 +6,8 @@ server {
client_max_body_size 1024M; client_max_body_size 1024M;
access_log /var/log/nginx/hakase-access.log; access_log /var/log/nginx/access.log;
error_log /var/log/nginx/hakase-error.log; error_log /var/log/nginx/error.log;
location / { location / {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
......
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