<p>Crikey...</p>

<p><a href="https://craftcms.stackexchange.com/questions/21602/admin-actions-users-login-404">/admin/actions/users/login 404</a></p>

<p><a href="https://twitter.com/nystudio107/status/895726366477344772" rel="nofollow noreferrer">https://twitter.com/nystudio107/status/895726366477344772</a></p>

<p>Forge!</p>

CC BY-SA 3.0
2017-08-18T01:35:55.670Z
2017-08-18T01:35:55.670Z
Steve Mock
<p>Yeah, that's a fun one I ran into. The server configs here are known to work with Nginx &amp; Craft CMS 2.x &amp; 3.x: <a href="https://github.com/nystudio107/nginx-craft" rel="nofollow noreferrer">Nginx-Craft</a></p>

CC BY-SA 3.0
2017-08-18T01:49:56.087Z
2017-08-18T01:49:56.087Z
andrew.welch
<p>We're getting a 404 (or a Craft 'page not found' error) with this path on the remote server:</p>

<p><code>http://foo.example.net/admin/actions/users/login</code></p>

<p>Same database using remote mySQL. Local logins work fine.</p>

<p>Craft CMS 2.6.2989</p>

<admin><login><mysql>
What might cause logins to work locally yet not in deployed environment?
# What might cause logins to work locally yet not in deployed environment?

(Asked by: username_0 on 2017-08-18)

We're getting a 404 (or a Craft 'page not found' error) with this path on the remote server:

`http://foo.example.net/admin/actions/users/login`

Same database using remote mySQL. Local logins work fine.

Craft CMS 2.6.2989

**Tags:** admin, login, mysql

---

## 2 answers

### Answer by username_0 on 2017-08-18. Score: 1

Crikey...

[/admin/actions/users/login 404](https://craftcms.stackexchange.com/questions/21602/admin-actions-users-login-404)

<https://twitter.com/nystudio107/status/895726366477344772>

Forge!


---

### Answer by username_1 on 2017-08-18. Score: 0

Yeah, that's a fun one I ran into. The server configs here are known to work with Nginx & Craft CMS 2.x & 3.x: [Nginx-Craft](https://github.com/nystudio107/nginx-craft)


---

