# SCM-Server and Nginx # ## Nginx configuration ## ``` #!text location /scm { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_pass http://localhost:8080; } ``` ## SCM-Server conf/server-config.xml ## Uncomment following line: ``` #!xml true ``` Example: ``` #!xml true ``` ## SCM-Manager Configuration version 1.5 and above ## * Login as an admin user and select "General" * Set the "Base Url" to the URL of Nginx (**warning:** don't check "Force Base Url") * Save the new new settings