Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I came here form the IP Geolocation Views & Maps module, which upon installation recommend this module.
I am developing a site on Pantheon which uses nginx webservers, thus doesn't have .htcaccess file where to write your rewrite rules.
The question is: is the module useful in any way even if I don't/can't apply the rewrite rules advised in your configuration page?
EDIT: I found out the old issues but the implications weren't clear to me. In the settings I selected "Other" but nothing new shows up. Is it ok?
Comments
Comment #1
kopeboy CreditAttribution: kopeboy commentedComment #2
markhalliwellI had been using Nginx locally actually for a while and have some of my own. They are, however, manual rewrites as I had to account for language prefixes. I would much prefer a dynamic rewrite instead.
Unfortunately I recently upgraded my laptop and now back to a normal MAMP stack. I will keep this open as I will likely revisit it one day in the future (if someone doesn't beat me to it).
As far as Pantheon goes, I'm not sure they have support for this (highly unlikely). Plus, we'd likely need to come up with something here first. Once that happens, I can easily ping someone over there to discuss the possibility to add this support. They have been highly accommodating in the past.
Comment #3
markhalliwellRelated issues from searching issue queue
Comment #4
travisc CreditAttribution: travisc commentededit: already covered by other threads
Comment #5
mrded CreditAttribution: mrded commentedTo make it work - add following into your NGINX config:
I also spoke with Pantheon support and they told me that they have a standardised nginx.conf that runs across the platform, so it can't be changed.
However it can be requested as a feature for all sites on the platform but, in case they receive multiple requests from different clients.
Comment #7
markhalliwellComment #9
nottaken CreditAttribution: nottaken commentedI'm looking at the Pantheon platform and ran into this issue. Any suggested solutions to make it work on Pantheon?