add canonical web
This commit is contained in:
parent
62af6912cd
commit
8c85e36d85
@ -4,6 +4,7 @@ server {
|
|||||||
#gzip_static off;
|
#gzip_static off;
|
||||||
server_name clarissariviere.com clarissariviere.fr www.clarissariviere.fr www.clarissariviere.com;
|
server_name clarissariviere.com clarissariviere.fr www.clarissariviere.fr www.clarissariviere.com;
|
||||||
add_header 'Content-Security-Policy' 'upgrade-insecure-requests';
|
add_header 'Content-Security-Policy' 'upgrade-insecure-requests';
|
||||||
|
add_header Link "<https://www.clarissariviere.com; rel=\"canonical\">";
|
||||||
proxy_cache STATIC;
|
proxy_cache STATIC;
|
||||||
location / {
|
location / {
|
||||||
# First attempt to serve request as file, then
|
# First attempt to serve request as file, then
|
||||||
@ -11,6 +12,7 @@ server {
|
|||||||
#try_files $uri $uri/ =404;
|
#try_files $uri $uri/ =404;
|
||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
proxy_pass http://gouters.canalblog.com/;
|
proxy_pass http://gouters.canalblog.com/;
|
||||||
|
#add_header Link "<https://www.clarissariviere.com; rel=\"canonical\">";
|
||||||
#proxy_redirect off;
|
#proxy_redirect off;
|
||||||
#proxy_set_header Host $host;
|
#proxy_set_header Host $host;
|
||||||
#proxy_buffering on;
|
#proxy_buffering on;
|
||||||
@ -25,6 +27,7 @@ server {
|
|||||||
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
#proxy_set_header X-Forwarded-Proto $scheme;
|
#proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
sub_filter 'gouters.canalblog.com' "$host";
|
sub_filter 'gouters.canalblog.com' "$host";
|
||||||
|
sub_filter '<meta name="generator" content="CanalBlog - https://www.canalblog.com" />' '';
|
||||||
sub_filter_types text/html text/xml text/plain text/css;
|
sub_filter_types text/html text/xml text/plain text/css;
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user