---
title: "Discussion on \"Hands-On: I wrote my auth logic with JS in Nginx; Will you?\" | Hashnode"
description: "Discussion on \"Hands-On: I wrote my auth logic with JS in Nginx; Will you?\". This may come as a surprise to you. How can someone use nginx configuration with Javascript? Fortunately, nginx supports a language called njs which is a strict subset of ECMA5. This can be used to further extend your routing logic, but don't be that..."
url: "https://hashnode.com/posts/hands-on-i-wrote-my-auth-logic-with-js-in-nginx-will-you/650722fb314cb5cbbecf8a31"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hands-On: I wrote my auth logic with JS in Nginx; Will you?](https://maheshchandraregmi.com.np/hands-on-i-wrote-my-auth-logic-with-js-in-nginx-will-you?utm_source=hashnode&utm_medium=feed)

This may come as a surprise to you. How can someone use nginx configuration with Javascript? Fortunately, nginx supports a language called njs which is a strict subset of ECMA5. This can be used to further extend your routing logic, but don't be that...

Sep 17, 2023 · 4 min read · maheshchandraregmi.com.np  
Read the article

-   [#nginx](https://hashnode.com/tag/nginx)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Har Har Mahadev!](https://hashnode.com/@maheshcregmi)

@maheshcregmi · Kathmandu, Nepal

  
[View profile](https://hashnode.com/@maheshcregmi)

Backend | Devops | Cloud | Linux

Devops at Leapfrog Technology Inc.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
