Switched from Apache to Nginx
-
Hi, I recently switched from Apache to a Nginx server. All went well bug my images are no longer webp because the plugin was run on Apache. When trying to reactive it, it said I needed to add code to my nginx.conf but I can’t add map directive there.
This is the error:
nginx: [emerg] "map" directive is not allowed here in /usr/local/directadmin/data/users/admin/nginx.conf:16 nginx: configuration file /etc/nginx/nginx.conf test failed
I’m using DirectAdmin to make the changes. I tried doing it through the Custom HTTPD Configurations in DA but this didn’t work. Even after trying to restart my server when adding it to the custom config.
Hope you can help me, cheers.
The page I need help with: [log in to see the link]
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Switched from Apache to Nginx’ is closed to new replies.