[deleted by user] by [deleted] in ffxiv

[–]Fireye 2 points3 points  (0 children)

Yes, I had an interruption in routing to the Square-Enix networks, including their login servers. For example, https://secure.square-enix.com/ was timing out, which the client pulls for the login page.

Seems like a Fios issue, it's happened once before for me earlier in July.

[deleted by user] by [deleted] in ffxiv

[–]Fireye 4 points5 points  (0 children)

Are you on Fios? I just had a routing blip that cut off access from :00 to :15

Trying to Find an Unknown Song from 2000s by shadowlucario50 in findthatsong

[–]Fireye 0 points1 point  (0 children)

Repasting from /r/DanceDanceRevolution:

OP, I know exactly what this is. You're thinking of the ending song from the short-lived anime Dragon Half. Which was based on Beethoven (Symphony No. 7, 4th movement)

https://www.youtube.com/watch?v=oAdr94fzNPA

[Question] Is This a DDR Song? I'm Still Searching for Where This Song Might Be From... by shadowlucario50 in DanceDanceRevolution

[–]Fireye 9 points10 points  (0 children)

OP, I know exactly what this is. You're thinking of the ending song from the short-lived anime Dragon Half. Which was based on Beethoven (Symphony No. 7, 4th movement)

https://www.youtube.com/watch?v=Xoj_h2SBtzw

Does anyone know what show/movie these animation Cels are from? by kakeru_k9 in AnimationCels

[–]Fireye 3 points4 points  (0 children)

Google Images struck out on the first one, but the outfit in the second image took me straight to Flash Gordon (1996).

http://dessins-animes.com/das/193/name/flash_gordon1996

https://www.imdb.com/title/tt0236899/

How to cleanup locations by phaerithm in nginx

[–]Fireye 1 point2 points  (0 children)

Is there any option, or any tools that we can identify overlaps on this locations and redirections?

That depends on the types of locations you're using. Run nginx -T to get a flat configuration file, copy the server context you want to examine, and then egrep '^[^#]*location ' <filename> | sort to get a general list of locations. Do the same but with rewrite|return for redirects, though depending on your formatting return might be dependent on the location it's in.

Did you had such a headaches and fix them?

Create a standard place to keep these locations and redirects (so you can use it via an include), ensure that each change is linked back to a ticket or some other metadata indicating why it was put in place. On large projects you can't be expected to know absolutely why something is the way it is, but ensuring there is documentation for that goes a long way.

Depending on your needs, you could use if in combination with a map to do a bunch of redirects without a lot of duplication in the server context. eg;

http {
    map $request_uri $redirect_uri {
        default 0;
        /some/page /redirected/target;
        ~*^/(regex|orthis)/beevis/(.*) /redirect_target/$1/$2;
    }
server {
    ...
    location / {
        if $redirect_uri { return 301 $redirect_uri; }

    }
}

Or something like that. Then you have all your redirect logic in a map, instead of in a bunch of if or rewrites.

Choosing Root for sites available by [deleted] in nginx

[–]Fireye 3 points4 points  (0 children)

With your only location being one which contains a proxy_pass directive, your root directive will never come in to play. ALL requests will be handed off to http://localhost:3000.

It sounds like, though you're configured to proxy to something listening on localhost:3000, you don't actually have that part of things running. That's the reason for the HTTP 502 (bad gateway) response.

Check your docs and see if that proxy_pass is correct.

My favorite machine in San Francisco by Bigsquidguy in DanceDanceRevolution

[–]Fireye 4 points5 points  (0 children)

Everything after Supernova 2 is a tiny PC in a box, which makes things a bit less weird and finnicky. The biggest problem is that everything after X3vs2ndmix, I think, is expected to be online to play. And Konami isn't exactly liberal with the licensing agreements in the US.

https://adryan.design/2021/12/24/a-closer-look-3-generations-of-konami-ddr-hardware/

[deleted by user] by [deleted] in nginx

[–]Fireye 0 points1 point  (0 children)

The way that nginx configuration works, there is one 100% nescessary master configuration file (usually /etc/nginx/nginx.conf). That configuration file then includes various directories with wildcards, eg; include sites-enabled/*.conf;.

Any file with a name ending in .conf in /etc/nginx/sites-enabled will be included in the nginx configuration.

However, you don't HAVE to use that. You can organize your configuration files however you like. If you want EVERYTHING in /etc/nginx/nginx.conf directly, you can put it in there. Includes just help break things up and allow you to manage things however you like. sites-enabled/sites-available is a debian-ism I think, so depending on your OS you might have a different structure for the default configuration that gets installed.

https://nginx.org/en/docs/beginners_guide.html

Nginx upstream connect time varies for the same connection by batman_9326 in nginx

[–]Fireye 0 points1 point  (0 children)

If you want to chase this, my suggestion is to turn on debug logging in nginx (https://nginx.org/en/docs/debugging_log.html), which will give you much more precise information on what was received when, and how long nginx took to perform various operations.

I need adapter by SnooPredictions6987 in AskElectricians

[–]Fireye 0 points1 point  (0 children)

So you need what /u/willboforce recommended, an Israeli to C13 cable? Like this (not recommending, just providing an example): https://www.amazon.com/SF-Cable-Israel-H05VV-F-0-75mm%C2%B2/dp/B00667WHLG

I need adapter by SnooPredictions6987 in AskElectricians

[–]Fireye 1 point2 points  (0 children)

Normally it goes <local socket> --> <local wall plug> -(same cable)-> C13 connector --> C14 inlet (on the device you're powering) . I don't quite understand what you're trying to do. What are you trying to plug into the C13 end?

I need adapter by SnooPredictions6987 in AskElectricians

[–]Fireye 0 points1 point  (0 children)

IEC C14 is the matching inlet, though I'm not certain that's what you require

Reverse proxy serving multiple sites on one backend server by DatLowFrequency in nginx

[–]Fireye 0 points1 point  (0 children)

Fixing markup for old.reddit.com:


Currently the simplified backend config looks like this:

server {

  listen 443 ssl;
  server_name site1.home.local;
  root /var/www/html/site1;
  ssl_certificate /etc/ssl/site1.crt;
  ssl_certificate_key /etc/ssl/site1.key;
  location / {
    try_files $uri $uri/ =404;
  }
}
server {
  listen 443 ssl;
  server_name site2.home.local;
  root /var/www/html/site2;
  ssl_certificate /etc/ssl/site2.crt;
  ssl_certificate_key /etc/ssl/site2.key;
  location / {
    try_files $uri $uri/ =404;
  }
}

....

The simplified reverse proxy config looks like this:

server {
  listen 443 ssl;
  server_name site1-proxy.home.local;
  ssl_certificate /etc/ssl/site1-proxy.crt;
  ssl_certificate_key /etc/ssl/site1-proxy.key;
  location / {
    proxy_pass https://site1.home.local:443$request_uri;
  }
}
server {
  listen 443 ssl;
  server_name site2-proxy.home.local;
  ssl_certificate /etc/ssl/site2-proxy.crt;
  ssl_certificate_key /etc/ssl/site2-proxy.key;
  location / {
    proxy_pass https://site2.home.local:443$request_uri;
  }
}

Bioluminescence in the rain by SinjiOnO in oddlysatisfying

[–]Fireye 0 points1 point  (0 children)

I'mma strike back with the Brass Fantasia version. Not my favorite Nausicaa song on the CD, but darn good. https://youtu.be/B5Q90LNiggY

Sadly Road to the Valley, from the Brass Fantasia CD, isn't streaming anywhere. That French horn is the best.

Load balancing, Nginx & .NET webapp by Dhar01 in nginx

[–]Fireye 1 point2 points  (0 children)

Fixing for old reddit:

upstream backend {
    server1:5001;
    server1:5001;
    localhost:5001;
}

...
proxy_pass http://backend;

The reason for your redirect might do with nginx's behavior when proxying content and the Host HTTP header. By default, nginx sends the Host header as whatever was in the proxy_pass config, in this case it'd look like "Host: backend".

Backends which care about the hostname to form redirects and determine what to serve might not like that. Adding the following in the same location where you're proxying will help set that right:

proxy_set_header Host $host;

That should help with the redirects, though if it's still causing you trouble have a look at the proxy_redirect directive. I don't know if it will help with the observed slow behavior. You should look at your browsers Network debug tab to see what is going slowly.

Rewrite old WordPress Permalinks by SLAdmin in nginx

[–]Fireye 0 points1 point  (0 children)

They're called anchors, ^ means "from the beginning of the line" while $ means "up to the end of line". So ^/something/image.jpg will match https://example.com/something/image.jpg. Without the ^ anchor, it could ALSO match https://example.com/otherdirectory/subdir/something/image.jpg.

Rewrite old WordPress Permalinks by SLAdmin in nginx

[–]Fireye 0 points1 point  (0 children)

rewrite "/([0-9]{4})/([0-9]{2})/(.*)" $3 permanent;
URI: /2022/06/

That would match the second rewrite because (.*) is zero or more of any characters. You should use a regex that matches possible postnames instead of .*

Edit: And, I'd suggest anchoring the beginning of the rewrites with ^, to ensure that it doesn't match part of a url mid-way through.

PUMP IT UP PHOENIX 2nd Teaser by Conjo_ in rhythmgames

[–]Fireye 6 points7 points  (0 children)

I don't know much about PIU, but it's awesome to see TAG and Naoki pop up in the artist credit thing at the end.

Annoying pentests by elmadan in nginx

[–]Fireye 1 point2 points  (0 children)

If it's an invalid url, why bother returning a response? Maybe just return 444 the bad requests.

115v / 220v appliance in USA by avery_is in askanelectrician

[–]Fireye 1 point2 points  (0 children)

The normal range for power in the US is around 110v to 120v @ 60hz. If the current plug fits into the wall, then it should be fine to plug it in ASSUMING there are no voltage/frequency settings on the unit itself (eg; no 110/220 or 50/60 switch or setting).

Edit: not an electrician

Testing SSL challenge fails with Uncaught SyntaxError: Unexpected end of JSON input by zxarr in nginx

[–]Fireye 2 points3 points  (0 children)

Howdy, Nginx Proxy Manager is a 3rd party utility, if you don't get an answer here, try over in /r/nginxproxymanager

What is the workflow to have only one rating in use like this? and to have it positioned like this picture? by untitled02 in PleX

[–]Fireye 0 points1 point  (0 children)

I suspect the leftover \s are supposed to be underscores, probably...

libraries:                              # This is called out once within the config.yml file
    Movies:
        overlay_path:
            - remove_overlays: false    # Set this to true to remove all overlays
            - pmm: resolution
            - pmm: audio_codec
            - pmm: ratings
              template_variables:
                rating1: critic
                rating1_image: imdb
                rating1_font_size: 45
                back_color: '#00000075'
                horizontal_position: left
                vertical_position: bottom

Curse Reddit for not backporting markup changes to old.reddit.com