daemon off; error_log /dev/stdout info; worker_processes 10; events { worker_connections 1024; } http { log_format main '$remote_addr - $remote_user [$time_local] $status ' '"$request" $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /dev/stdout; map $http_upgrade $connection_upgrade { default Upgrade; '' close; } server { listen 80; location /p4_phoenix_services/v1/updater { rewrite /p4_phoenix_services/v1/updater/(.*) /$1 break; proxy_pass http://192.168.99.100:5003; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_read_timeout 999999999; proxy_redirect off; } location /notification_services/ { rewrite /notification_services/(.*) /$1 break; proxy_pass http://192.168.99.100:5004; } location /p4_phoenix_services/ { rewrite /p4_phoenix_services/(.*) /$1 break; proxy_pass http://192.168.99.100:5002; } location /p4_project_services/ { rewrite /p4_project_services/(.*) /$1 break; proxy_pass http://192.168.99.100:5001; } location /p4_web_api/ { rewrite /p4_web_api/(.*) /$1 break; proxy_pass http://192.168.99.100:5000; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 13528 | tjuricek |
Moved rack and app server configuration to be managed via Salt. Also, only using a single value "url" to configure how the p4_project_services instance references the p4_web_api. And, removing the Docker setup, since that won't work for a production system. |
||
#3 | 13488 | tjuricek |
Added hsm:startworld and hsm:stopworld tasks to do global starts and stops. This is not without apparent issues. It appears bundler or ruby is pausing before the nginx launch task happens. I'm not sure if there's some kind of resource issue first. P4WEBAPI-49 |
||
#2 | 13487 | tjuricek |
Pushing host, port, and URL configuration into docker-compose.yml consistently. All other configuration will be figured out by a separate system later. P4WEBAPI-51 |
||
#1 | 13479 | tjuricek | Add basic configurations for nginx and redis in the cluster. |