From d5f9dfa37b1984a465b63d94bfb26983ad79092e Mon Sep 17 00:00:00 2001 From: PJ Dietz Date: Tue, 13 Mar 2018 14:15:38 -0400 Subject: [PATCH] Use alias instead of symlink for documentation on local site --- docker/nginx/site.conf | 5 +++++ public/docs | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) delete mode 120000 public/docs diff --git a/docker/nginx/site.conf b/docker/nginx/site.conf index c0def51..8270b24 100644 --- a/docker/nginx/site.conf +++ b/docker/nginx/site.conf @@ -13,6 +13,11 @@ server { try_files $uri $uri/ /index.php?$args; } + # Generated Documentation + location /docs { + alias /usr/local/src/wellrested/docs/build/html; + } + # PHP location ~ \.php$ { include fastcgi_params; diff --git a/public/docs b/public/docs deleted file mode 120000 index 0a6ccc9..0000000 --- a/public/docs +++ /dev/null @@ -1 +0,0 @@ -../docs/build/html \ No newline at end of file