瀏覽代碼

Improved Nginx configuration for Docker Compose

main
Simon Bowie 3 年之前
父節點
當前提交
419affb809
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. +1
    -1
      docker-compose.yml
  2. +1
    -0
      nginx-conf/patent_site.conf

+ 1
- 1
docker-compose.yml 查看文件

@@ -18,7 +18,7 @@ services:
ports:
- '8080:80'
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./nginx-conf:/etc/nginx/conf.d
volumes_from:
- php


nginx/default.conf → nginx-conf/patent_site.conf 查看文件

@@ -16,4 +16,5 @@ server {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}

Loading…
取消
儲存