Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Canonical issue

Started by Muut Archive 10 years ago · 2 replies · 369 views
10 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" />

10 years ago

Try enabling the reverse_proxy_setup option in system.yaml.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1361 9 years ago
Archive · by Muut Archive, 9 years ago
2 939 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2958 9 years ago
Archive · by Muut Archive, 9 years ago
3 1123 9 years ago