Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Canonical issue

Started by Muut Archive 11 years ago · 2 replies · 482 views
11 years ago

Hi all,

I have an issue with my server setup and canonical.

I have varnish on port 80 and nginx on port 8080 and the system runs smoothly.

Only thing bothering me is that gravs canonical function includes the server port in the url. Any quick and easy way to remove it?

My canonical is always as follows: <link rel="canonical" href="http://mydomain.com:8080/some/sub/path" />

11 years ago

Try enabling the reverse_proxy_setup option in system.yaml.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 674 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago