How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#8137 by angelagates29
05 Jun 2019, 16:23
server {
listen 80;

access_log /var/log/nginx/log/ main;
error_log /var/log/nginx/log/;
root /usr/share/nginx/html;
index index.html index.htm;
You should use Nginx as a reverse proxy for your server, Here is a sample configuration for Nginx that may do what you want:
location / {
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;[color] [color=#333333]
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;