# Nginx as webserver for openemr

**URL:** <https://community.open-emr.org/t/nginx-as-webserver-for-openemr/1171>\
**Category:** Management and Administration\
**Created:** [July 12, 2015, 5:55pm UTC](https://community.open-emr.org/t/nginx-as-webserver-for-openemr/1171 "2015-07-12T17:55:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [July 12, 2015, 5:55pm UTC](https://community.open-emr.org/t/nginx-as-webserver-for-openemr/1171/1 "2015-07-12T17:55:52Z")

</div>

**[lamspc](https://sourceforge.net/u/lamspc/)** wrote on [Sunday, July 12, 2015](https://sourceforge.net/p/openemr/discussion/202505/thread/7b2b9a80/#1407):

I wanted to try out nginx as the webserver for openemr. I currently run 4.2.0(3) on a debian wheezy platform running mariadb, php5 and apache webserver.

Would someone who has successfully implemented nginx share the server block configuration for openemr that corresponds to openemr.conf in the virtual host settings on apache? I have created a LEMP stack with mariadb and php-fpm to try out the new openemr install. But I noted that installing openemr in a LEMP stack throws up an error because it is unable to find the apace2/sites-available directory on to which it would copy openemr.conf

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [July 14, 2015, 5:01pm UTC](https://community.open-emr.org/t/nginx-as-webserver-for-openemr/1171/2 "2015-07-14T17:01:40Z")

</div>

**[fndtn357](https://sourceforge.net/u/fndtn357/)** wrote on [Tuesday, July 14, 2015](https://sourceforge.net/p/openemr/discussion/202505/thread/7b2b9a80/#1407/c0b2):

Have you seen this entry?  
[https://sourceforge.net/p/openemr/discussion/202505/thread/838ab0df/](https://sourceforge.net/p/openemr/discussion/202505/thread/838ab0df/)  
Perhaps it has some usable information.

On Sun, Jul 12, 2015 at 1:55 PM, Lams [lamspc@users.sf.net](mailto:lamspc@users.sf.net) wrote:

> I wanted to try out nginx as the webserver for openemr. I currently run  
> 4.2.0(3) on a debian wheezy platform running mariadb, php5 and apache  
> webserver.
> 
> ## Would someone who has successfully implemented nginx share the server block configuration for openemr that corresponds to openemr.conf in the virtual host settings on apache? I have created a LEMP stack with mariadb and php-fpm to try out the new openemr install. But I noted that installing openemr in a LEMP stack throws up an error because it is unable to find the apace2/sites-available directory on to which it would copy openemr.conf
> 
> ## Nginx as webserver for openemr [https://sourceforge.net/p/openemr/discussion/202505/thread/7b2b9a80/?limit=25#1407](https://sourceforge.net/p/openemr/discussion/202505/thread/7b2b9a80/?limit=25#1407)
> 
> Sent from [sourceforge.net](http://sourceforge.net) because you indicated interest in  
> [OpenEMR / Discussion / Help](https://sourceforge.net/p/openemr/discussion/202505/)
> 
> To unsubscribe from further messages, please visit  
> [SourceForge.net: Log In to SourceForge.net](https://sourceforge.net/auth/subscriptions/)
