Skip to content

Commit

Permalink
Merge pull request #86 from conjoon/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ThorstenSuckow authored Feb 5, 2023
2 parents c2c8db4 + f3be5df commit e63a4fd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@ further details about the configuration options available:
## Related Resources
A pre-configured container for running an instance of **lumen-app-email** is also available and can be found at
[conjoon\/ddev-ms-email](https://github.com/conjoon/ddev-ms-email).

## nginx configuration
The default distribution of **lumen-app-emails** contains an `.htaccess`-file containing rewrite rules for properly
routing API paths when using an **Apache HTTP Server**.
If you want to use **nginx**, you can apply the following configuration to make sure requests are properly routed.

Assuming **lumen-app-email** is installed in `./htdocs` - relative to the (virtual) server's `root`-dir:

```apacheconf
location /htdocs {
try_files $uri $uri/ /htdocs/app/public/index.php?$query_string;
}
```

0 comments on commit e63a4fd

Please sign in to comment.