disabled_ggt667

How I installed nginx on MacOS X

Discussion created by disabled_ggt667 on Jun 28, 2018

Here are my 2 cents worth for best practice for deploying REST, SOAP, and similar server side applications regardless of datastore[s.]

 

install brew as pr instructions on http://brew.sh

 

$ brew install nginx

$ open /usr/local/etc/nginx/servers

 

Copy any of the servers there to make your own; or use below in a new file, change fm16s01 to whatever is your local FileMaker CWP/DATA API DNS or IP

 

# FileMaker CWP/DATA API
server {
  listen 0.0.0.0:591;
  location / {
    proxy_pass http://fm16s01:80;
    proxy_set_header        Host            $host;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}

 

If you would like to add SSL and gzip; modify the following file: open /usr/local/etc/nginx/nginx.conf

 

New topic for Beverly as pr this request: FM Data API and Containers

Outcomes