error_log /var/log/nginx/error.log 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 /var/log/nginx/access.log; 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://127.0.0.1:5004; 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://127.0.0.1:5003; } location /p4_phoenix_services/ { rewrite /p4_phoenix_services/(.*) /$1 break; proxy_pass http://127.0.0.1:5002; } location /p4_project_services/ { rewrite /p4_project_services/(.*) /$1 break; proxy_pass http://127.0.0.1:5001; } location /p4_web_api/ { rewrite /p4_web_api/(.*) /$1 break; proxy_pass http://127.0.0.1:5000; } location / { root {{ pillar['webserver.static.dir'] }}; include /etc/nginx/mime.types; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 13972 | tjuricek |
Removing old microservice implementations. The system is now mostly a monolith. Eventually there will be a websocket service. |
||
#4 | 13707 | tjuricek |
Infrastructure for including a "project management" React application. This attempts to create a fairly simple installer that creates a 'static' folder based on ui/static that gets hosted by the nginx front end. Right now, it's the only app, so the default page is this application. It was called "pws2" during a prototyping phase. Another prototype, "pws" and the related "project" module, is removed since that was a Sinatra-based approach that will be much more difficult to integrate into anything else. I'm running into a couple of issues with notifications setup, it's still not 100%, so I'm disabling this for now from the default 'god' configuration. (The service isn't 100% functional yet, anyway.) |
||
#3 | 13645 | tjuricek |
React.js + Flux prototype This just logs in and displays a list of projects (create one with the other app for now). |
||
#2 | 13535 | tjuricek |
Add notification_services to deployment, and reconfigure build step to exec bash. The execution bit doesn't seem to stay set on config/bash.sh The notification_services service doesn't have advanced tests just yet. |
||
#1 | 13494 | tjuricek | Reorganize salt tree to have a single set of states (probably) organized with different basic minion configurations. | ||
//guest/perforce_software/helix-web-services/main/salt/webserver/nginx.conf | |||||
#1 | 13492 | tjuricek |
Some initial salt states for our environent. The ruby setup likely needs some revision. The goal is to have a system-wide RVM installation set up with gemsets for each app. |