26 lines
864 B
Diff
26 lines
864 B
Diff
--- /var/backups/plotdirector/nginx-dev-before-solver-seo-20261102.conf 2026-07-10 18:35:36.642145185 +0000
|
|
+++ /etc/nginx/sites-enabled/plotdirector-dev.conf 2026-11-02 16:20:21.899882455 +0000
|
|
@@ -4,6 +4,9 @@
|
|
|
|
server_name dev.plotdirector.com;
|
|
|
|
+ # This Development origin must never enter a public search index.
|
|
+ add_header X-Robots-Tag "noindex, follow" always;
|
|
+
|
|
access_log /var/log/nginx/plotdirector-dev-access.log;
|
|
error_log /var/log/nginx/plotdirector-dev-error.log;
|
|
|
|
@@ -11,10 +14,12 @@
|
|
|
|
location = /health {
|
|
add_header Content-Type text/plain;
|
|
+ add_header X-Robots-Tag "noindex, follow" always;
|
|
return 200 "ok\n";
|
|
}
|
|
|
|
location / {
|
|
+ proxy_hide_header X-Robots-Tag;
|
|
proxy_pass http://127.0.0.1:5050;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|